Skip to content

Commit

Permalink
Merge pull request #54 from OpenNyAI/security_update
Browse files Browse the repository at this point in the history
Security update
  • Loading branch information
sameersegal authored May 23, 2024
2 parents 537487e + ffeb1eb commit 10ee3ea
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 82 deletions.
2 changes: 0 additions & 2 deletions db/jb_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
db_host = os.getenv("POSTGRES_DATABASE_HOST") # localhost for local upload of data
db_port = os.getenv("POSTGRES_DATABASE_PORT")

print(db_name, db_user, db_password, db_host, db_port)

# Construct the SQLAlchemy connection URL using URL class
DATABASE_URL = f"postgresql://{db_user}:{db_password}@{db_host}:{db_port}/{db_name}"

Expand Down
Loading

0 comments on commit 10ee3ea

Please sign in to comment.