Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-17 09:08:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-17 09:08:39 +0300
commit93f8e7f3aa02e4fb092fc3664c50e8382ddb34f0 (patch)
tree6d23028b31179c4d3eba6affdc91132ac8e19686 /app/assets/javascripts/lib
parentbd37e94aecac7ef361a605bc1a5433415a4526cc (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.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/assets/javascripts/lib/utils/http_status.js b/app/assets/javascripts/lib/utils/http_status.js
index 9ca4efe6dfe..678ebc35565 100644
--- a/app/assets/javascripts/lib/utils/http_status.js
+++ b/app/assets/javascripts/lib/utils/http_status.js
@@ -22,12 +22,6 @@ 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,
-};
-
export const successCodes = [
HTTP_STATUS_OK,
HTTP_STATUS_CREATED,
@@ -40,5 +34,3 @@ export const successCodes = [
HTTP_STATUS_ALREADY_REPORTED,
HTTP_STATUS_IM_USED,
];
-
-export default httpStatusCodes;