Frontend linter changes.

This commit is contained in:
2026-06-16 22:13:27 +00:00
parent 77e35cf0fc
commit d6304d0029
5 changed files with 21 additions and 25 deletions
+1 -3
View File
@@ -1293,9 +1293,7 @@ def _token_belongs_to_user(token, username, sso_user_id):
def _is_anonymous_share_token(token: config.Token) -> bool:
return (
sharefs.is_share_token(token)
and not token.username
and not token.sso_user_id
sharefs.is_share_token(token) and not token.username and not token.sso_user_id
)