fix: Lint fixes of core, models and schemas
All checks were successful
Backend CI / test (push) Successful in 4m5s

This commit is contained in:
JSC
2025-07-31 22:06:31 +02:00
parent 01bb48c206
commit 7ba52ad6fc
6 changed files with 18 additions and 18 deletions

View File

@@ -135,8 +135,6 @@ async def get_current_user_api_token(
detail="Account is deactivated",
)
return user
except HTTPException:
# Re-raise HTTPExceptions without wrapping them
raise
@@ -146,6 +144,8 @@ async def get_current_user_api_token(
status_code=status.HTTP_401_UNAUTHORIZED,
detail="Could not validate API token",
) from e
else:
return user
async def get_current_user_flexible(