mirror of
https://github.com/discourse/discourse.git
synced 2025-03-07 07:25:21 +08:00

This commit helps improve the discourse_api experience so that we can check the json response if it was a success or not. This commit also checks that a 404 is sent instead of a 500 if a bad user_id is passed in.