Commit 74890212 authored by Nathan Friend's avatar Nathan Friend

Refactor ee and non-ee api_spec.js

Updates api_spec.js (and its ee/ counterpart) to use status codes from
http_status.js and refactors away some duplicate boilerplate.
parent 38640295
......@@ -22,6 +22,7 @@ const httpStatusCodes = {
CONFLICT: 409,
GONE: 410,
UNPROCESSABLE_ENTITY: 422,
INTERNAL_SERVER_ERROR: 500,
SERVICE_UNAVAILABLE: 503,
};
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment