Skip to content

Commit bb3eef0

Browse files
committed
fix: update
1 parent 51f360c commit bb3eef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphQL/loaders/schemaMutations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const load = parseGraphQLSchema => {
8383
enforceMasterKeyAccess(auth, config);
8484

8585
if (auth.isReadOnly) {
86-
throw new Parse.Error(
86+
throw createSanitizedError(
8787
Parse.Error.OPERATION_FORBIDDEN,
8888
"read-only masterKey isn't allowed to update a schema."
8989
);

0 commit comments

Comments
 (0)