Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravr committed Oct 7, 2024
1 parent 1339ae5 commit c1cdf32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apphelpers/rest/fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ def __init__(self, sessiondb_conn=None, urls_prefix="", site_identifier=None):
self.honeybadger_wrapper = phony
if site_identifier:
self.enable_multi_site(site_identifier)
self.setup_session_db(sessiondb_conn)
if sessiondb_conn:
self.setup_session_db(sessiondb_conn)
self.router = APIRouter(route_class=Router)
self.secure_router = APIRouter(route_class=SecureRouter)

Expand Down

0 comments on commit c1cdf32

Please sign in to comment.