Handle null Gitea current-user payload #76

Merged
timmy merged 1 commits from timmy/75-handle-null-gitea-current-user-payload into main 2026-08-06 05:24:39 +00:00
Owner

Treat a JSON null /user response as an invalid upstream payload and return the established fallback context instead of raising an unhandled TypeError.

Tests: python3 -m pytest tests/ -q (49 passed)

Closes #75

Treat a JSON null `/user` response as an invalid upstream payload and return the established fallback context instead of raising an unhandled TypeError. Tests: `python3 -m pytest tests/ -q` (49 passed) Closes #75
timmy added 1 commit 2026-08-06 05:24:09 +00:00
fix: handle null Gitea current-user payload (#75)
All checks were successful
CI / lint (pull_request) Successful in 9s
CI / build-frontend (pull_request) Successful in 4s
8001933692
timmy merged commit b2f8eaf89a into main 2026-08-06 05:24:39 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#76
No description provided.