diff --git a/src/global_config.js b/src/global_config.js index 773b2597..9d032d7d 100644 --- a/src/global_config.js +++ b/src/global_config.js @@ -21,7 +21,7 @@ function updateGlobalConfig(req) { .catch(() => ({ status: 404, response: { - code: 103, + code: Parse.Error.INVALID_KEY_NAME, error: 'config cannot be updated', } })); @@ -34,7 +34,7 @@ function getGlobalConfig(req) { .catch(() => ({ status: 404, response: { - code: 103, + code: Parse.Error.INVALID_KEY_NAME, error: 'config does not exist', } }));