mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-15 11:11:16 +08:00
Change examples so every dependencies are async
This commit is contained in:
@ -31,5 +31,5 @@ users = UserTable.__table__
|
||||
oauth_accounts = OAuthAccount.__table__
|
||||
|
||||
|
||||
def get_user_db():
|
||||
async def get_user_db():
|
||||
yield SQLAlchemyUserDatabase(UserDB, database, users, oauth_accounts)
|
||||
|
Reference in New Issue
Block a user