fix auth
This commit is contained in:
@@ -7,7 +7,7 @@ from src.core.database import async_session_maker
|
||||
|
||||
|
||||
async def get_db() -> AsyncGenerator[AsyncSession, None]:
|
||||
async with async_session_maker as db:
|
||||
async with async_session_maker() as db:
|
||||
yield db
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user