diff --git a/src/api/auth/deps.py b/src/api/auth/deps.py index 0298b11..9341bc7 100644 --- a/src/api/auth/deps.py +++ b/src/api/auth/deps.py @@ -3,7 +3,7 @@ from fastapi import Depends from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm -TOKEN_URL = "api/v1/auth/login" +TOKEN_URL = "auth/login" OAUTH2_BEARER = OAuth2PasswordBearer(TOKEN_URL) OPTIONAL_OAUTH2_BEARER = OAuth2PasswordBearer(TOKEN_URL, auto_error=False)