diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-12-04 02:11:23 -0600 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2018-12-05 14:40:07 -0600 |
commit | 83a95a02c230dbb2616df0fd93ff19e5ac61d9ef (patch) | |
tree | da0c8c590b2d75b3bf806bb4c77aa050b622a4e3 | |
parent | af20774b483103b6381077367af2c32c61c7aa67 (diff) | |
download | gitlab-ce-83a95a02c230dbb2616df0fd93ff19e5ac61d9ef.tar.gz |
Add some 400 statuses to http_status
-rw-r--r-- | app/assets/javascripts/lib/utils/http_status.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/utils/http_status.js b/app/assets/javascripts/lib/utils/http_status.js index e4852c85378..14c02218990 100644 --- a/app/assets/javascripts/lib/utils/http_status.js +++ b/app/assets/javascripts/lib/utils/http_status.js @@ -16,7 +16,9 @@ const httpStatusCodes = { IM_USED: 226, MULTIPLE_CHOICES: 300, BAD_REQUEST: 400, + FORBIDDEN: 403, NOT_FOUND: 404, + UNPROCESSABLE_ENTITY: 422, }; export const successCodes = [ |