Skip to content

Commit 8e291b2

Browse files
authored
Merge pull request #29 from vusa/patch-1
Update token url in deps.py
2 parents bc0b74c + 0bc1d95 commit 8e291b2

File tree

1 file changed

+1
-1
lines changed
  • {{cookiecutter.project_slug}}/backend/app/app/api

1 file changed

+1
-1
lines changed

{{cookiecutter.project_slug}}/backend/app/app/api/deps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from app.core.config import settings
1111
from app.db.session import SessionLocal
1212

13-
reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/login/access-token")
13+
reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/login/oauth")
1414

1515

1616
def get_db() -> Generator:

0 commit comments

Comments
 (0)