Skip to content

Commit

Permalink
fix(auth): rename endpoint from /refresh/mgmt to /refresh/management
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj-Gupta4 committed Dec 9, 2024
1 parent b6289b5 commit 2cd9005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/auth/auth_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ async def my_data(
return await get_or_create_user(db, current_user)


@router.get("/refresh/mgmt", response_model=AuthUserWithToken)
@router.get("/refresh/management", response_model=AuthUserWithToken)
async def refresh_mgmt_token(
request: Request,
current_user: Annotated[AuthUser, Depends(login_required)],
Expand Down

0 comments on commit 2cd9005

Please sign in to comment.