fix: Promise is not being returned in classUpdate method (#5877)
* fix: Set falsy values as default to schema fields * fix: Promise is not being returned in classUpdate method
This commit is contained in:
committed by
Diamond Lewis
parent
f3b84242d7
commit
78c42d97fd
@@ -768,7 +768,7 @@ export default class SchemaController {
|
||||
})
|
||||
.then(results => {
|
||||
enforceFields = results.filter(result => !!result);
|
||||
this.setPermissions(className, classLevelPermissions, newSchema);
|
||||
return this.setPermissions(className, classLevelPermissions, newSchema);
|
||||
})
|
||||
.then(() =>
|
||||
this._dbAdapter.setIndexesWithSchemaFormat(
|
||||
|
||||
Reference in New Issue
Block a user