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(() => ({ .catch(() => ({
status: 404, status: 404,
response: { response: {
code: 103, code: Parse.Error.INVALID_KEY_NAME,
error: 'config cannot be updated', error: 'config cannot be updated',
} }
})); }));
@@ -34,7 +34,7 @@ function getGlobalConfig(req) {
.catch(() => ({ .catch(() => ({
status: 404, status: 404,
response: { response: {
code: 103, code: Parse.Error.INVALID_KEY_NAME,
error: 'config does not exist', error: 'config does not exist',
} }
})); }));