You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Extend the API route responsible for posting a question to handle the new isAnonymous flag. The route should accept the flag as part of the request body and save it in the database.
Acceptance Criteria
The question submission API accepts an optional isAnonymous boolean in the request body.
If isAnonymous is true, the question is saved with the isAnonymous field set to true in the database.
The API performs proper validation and defaults isAnonymous to false if not provided.
No description provided.
The text was updated successfully, but these errors were encountered: