format code
This commit is contained in:
1 parent
438535fe98
commit
1e3e39284a
4 files changed
+5
-3
No files matched your search
@@ -18,6 +18,7 @@ def get_db():
|
||||
finally:
|
||||
db.close()
|
||||
|
||||
|
||||
def get_current_user(
|
||||
db: Session = Depends(get_db), token: str = Depends(oauth2_scheme)
|
||||
) -> models.User:
|
||||
|
||||
Reference in new issue
Block a user