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 5438cb1 commit 92ce1cdCopy full SHA for 92ce1cd
src/RestWrite.js
@@ -1326,7 +1326,9 @@ RestWrite.prototype.runDatabaseOperation = function () {
1326
1327
if (this.className === '_Role') {
1328
this.config.cacheController.role.clear();
1329
- this.config.liveQueryController.clearCachedRoles(this.auth.user);
+ if (this.config.liveQueryController) {
1330
+ this.config.liveQueryController.clearCachedRoles(this.auth.user);
1331
+ }
1332
}
1333
1334
if (this.className === '_User' && this.query && this.auth.isUnauthenticated()) {
0 commit comments