Skip to content

Handle missing session in updateData - #60

Open
utsinboots wants to merge 1 commit into
OSeMOSYS:masterfrom
utsinboots:fix/update-data-missing-session
Open

Handle missing session in updateData#60
utsinboots wants to merge 1 commit into
OSeMOSYS:masterfrom
utsinboots:fix/update-data-missing-session

Conversation

@utsinboots

Copy link
Copy Markdown

Summary

Ports a missing-session fix previously merged in MUIOGO.
Returns a clear 400 response when updateData is called without an active case session, preventing an UnboundLocalError.

Testing
-Verified that calling /updateData without an active case session returns HTTP 400 with the expected error response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant