Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Sep 22, 2023
1 parent f4e77d4 commit de5fb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from src.core.config import settings

# Create an async SQLAlchemy engine
engine = create_async_engine(settings.DATABASE_URL, echo=(settings.ENV == "PRD"))
engine = create_async_engine(settings.DATABASE_URL, echo=(settings.ENV != "PRD"))

# Create a session factory
SessionFactory = sessionmaker(
Expand Down

0 comments on commit de5fb33

Please sign in to comment.