feat: Add Parse Server option enableSanitizedErrorResponse to remove detailed error messages from responses sent to clients (#9944)
This commit is contained in:
@@ -45,6 +45,7 @@ export class GlobalConfigRouter extends PromiseRouter {
|
||||
throw createSanitizedError(
|
||||
Parse.Error.OPERATION_FORBIDDEN,
|
||||
"read-only masterKey isn't allowed to update the config.",
|
||||
req.config
|
||||
);
|
||||
}
|
||||
const params = req.body.params || {};
|
||||
|
||||
Reference in New Issue
Block a user