From bd4546f444232e2fdf014b4809753142f964c4c5 Mon Sep 17 00:00:00 2001 From: Peter Theill Date: Tue, 9 Feb 2016 11:10:40 +0100 Subject: [PATCH] Update error message --- src/global_config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', } }));