endpoint setup
This commit is contained in:
@@ -8,6 +8,6 @@ AsyncSessionLocal = async_sessionmaker(
|
||||
)
|
||||
|
||||
|
||||
async def get_db():
|
||||
async def get_async_session():
|
||||
async with AsyncSessionLocal() as session:
|
||||
yield session
|
||||
|
||||
Reference in New Issue
Block a user