forked from mtusi2026/mtusi2026lab2
+ добавила БД постгрес
This commit is contained in:
@@ -4,7 +4,7 @@ from fastapi import HTTPException, Security
|
||||
from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
|
||||
|
||||
from ..models.schemas import User
|
||||
from ..storage.memory import storage
|
||||
from ..storage.postgres import storage
|
||||
|
||||
bearer_scheme = HTTPBearer(auto_error=False, scheme_name="bearerAuth")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user