diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-10 18:08:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-10 18:08:33 +0300 |
commit | 87f8fdb93cb1e63f8e9cedf7d3d00c8ade70b18c (patch) | |
tree | ef90171a1b9ea20324834c747e2644f7561a5a97 /app/assets/javascripts/lib | |
parent | fbf183eebe154eea4734f80975dd403f08173398 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/http_status.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/lib/utils/http_status.js b/app/assets/javascripts/lib/utils/http_status.js index 27fd73affaa..c3adb79bcbe 100644 --- a/app/assets/javascripts/lib/utils/http_status.js +++ b/app/assets/javascripts/lib/utils/http_status.js @@ -18,13 +18,13 @@ export const HTTP_STATUS_BAD_REQUEST = 400; export const HTTP_STATUS_UNAUTHORIZED = 401; export const HTTP_STATUS_FORBIDDEN = 403; export const HTTP_STATUS_NOT_FOUND = 404; +export const HTTP_STATUS_INTERNAL_SERVER_ERROR = 500; +export const HTTP_STATUS_SERVICE_UNAVAILABLE = 503; // TODO move the rest of the status codes to primitive constants // https://docs.gitlab.com/ee/development/fe_guide/style/javascript.html#export-constants-as-primitives const httpStatusCodes = { OK: 200, - INTERNAL_SERVER_ERROR: 500, - SERVICE_UNAVAILABLE: 503, }; export const successCodes = [ |