Skip to content

Commit

Permalink
use settings.SRB_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdihaghverdi committed Apr 28, 2024
1 parent c829d44 commit 9e7011d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def check_databases(app_: FastAPI):
await rd.close()


app = FastAPI(debug=True, lifespan=check_databases)
app = FastAPI(debug=settings.SRB_DEBUG, lifespan=check_databases)

app.include_router(auth_router, tags=["auth"], prefix=settings.PREFIX)
app.include_router(user_router, tags=["users"], prefix=settings.PREFIX)
Expand Down

0 comments on commit 9e7011d

Please sign in to comment.