mirror of
https://github.com/discourse/discourse.git
synced 2025-03-05 18:59:22 +00: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.