Skip to content

Commit 748fbac

Browse files
committed
style: apply linter formatting to tokens.py
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
1 parent 84e065a commit 748fbac

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mcpgateway/routers/tokens.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ def _require_authenticated_session(current_user: dict) -> None:
6767
if auth_method == "api_token":
6868
raise HTTPException(
6969
status_code=status.HTTP_403_FORBIDDEN,
70-
detail=(
71-
"Token management requires an interactive session (JWT from web login or SSO). "
72-
"API tokens cannot create, list, or revoke other tokens."
73-
),
70+
detail=("Token management requires an interactive session (JWT from web login or SSO). " "API tokens cannot create, list, or revoke other tokens."),
7471
)
7572

7673

0 commit comments

Comments
 (0)