We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1cdea0 commit b641712Copy full SHA for b641712
src/Controllers/SchemaController.js
@@ -518,7 +518,7 @@ class SchemaController {
518
if (!dbTypeMatchesObjectType(expectedType, type)) {
519
throw new Parse.Error(
520
Parse.Error.INCORRECT_TYPE,
521
- `schema mismatch for ${className}.${fieldName}; expected ${expectedType.type || expectedType} but got ${type}`
+ `schema mismatch for ${className}.${fieldName}; expected ${expectedType.type || expectedType} but got ${type.type}`
522
);
523
}
524
0 commit comments