Skip to content

Commit 6a95abd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5163722 commit 6a95abd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/auth_fief/fps_auth_fief/backend.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ async def _(
6161
allowed = checked_permissions[resource] = []
6262
for action in actions:
6363
try:
64-
await fief.validate_access_token(access_token, required_permissions=[f"{resource}:{action}"])
64+
await fief.validate_access_token(
65+
access_token, required_permissions=[f"{resource}:{action}"]
66+
)
6567
except BaseException:
6668
pass
6769
else:
@@ -72,6 +74,7 @@ async def _(
7274
else:
7375
await websocket.close(code=status.WS_1008_POLICY_VIOLATION)
7476
return None
77+
7578
return _
7679

7780

0 commit comments

Comments
 (0)