add missing endpoints
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
Thomas Peetz
2026-05-18 16:45:56 +02:00
parent 6dd8e12218
commit 71724ac800
32 changed files with 347 additions and 138 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ async def get_current_user(
logger.info("Exception raised", exc_info=True)
raise credentials_exception
with SessionLocal() as db:
user = get_profile_by_username(username=token_data.username, db=db)
user = get_profile_by_username(username=str(token_data.username), db=db)
if user is None:
logger.info("user not found")
raise credentials_exception