Update error message

This commit is contained in:
Peter Theill
2016-02-09 11:10:40 +01:00
parent 11082b15b4
commit bd4546f444

View File

@@ -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',
}
}));