Skip to content

Commit bd4546f

Browse files
committed
Update error message
1 parent 11082b1 commit bd4546f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/global_config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function updateGlobalConfig(req) {
2121
.catch(() => ({
2222
status: 404,
2323
response: {
24-
code: 103,
24+
code: Parse.Error.INVALID_KEY_NAME,
2525
error: 'config cannot be updated',
2626
}
2727
}));
@@ -34,7 +34,7 @@ function getGlobalConfig(req) {
3434
.catch(() => ({
3535
status: 404,
3636
response: {
37-
code: 103,
37+
code: Parse.Error.INVALID_KEY_NAME,
3838
error: 'config does not exist',
3939
}
4040
}));

0 commit comments

Comments
 (0)