Skip to content

Commit

Permalink
chore: fix name space collision
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes1803 committed Sep 28, 2023
1 parent 4521e26 commit efbd035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions in_concert/routers/auth/auth_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from fastapi.routing import APIRouter
from sqlalchemy.orm import Session

from in_concert import routers
from in_concert.dependencies.auth.user_authorization import UserOAuth2Integrator
from in_concert.dependencies.db_session import DBSessionDependency
from in_concert.routers import auth
from in_concert.settings import Auth0Settings


Expand All @@ -30,7 +30,7 @@ def create_router(
audience=auth_settings.audience,
)
# setup internal user db
auth.models.Base.metadata.create_all(db_session_dep.engine)
routers.auth.models.Base.metadata.create_all(db_session_dep.engine)

@router.get("/login", response_class=RedirectResponse)
async def login(request: Request) -> RedirectResponse:
Expand Down

0 comments on commit efbd035

Please sign in to comment.