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 33f8fbe commit 5bb9fd4Copy full SHA for 5bb9fd4
src/live-query.js
@@ -83,7 +83,7 @@ module.exports = (AV) => {
83
} = {}) => {
84
if (!AV._config.realtime) throw new Error('LiveQuery not supported. Please use the LiveQuery bundle. https://url.leanapp.cn/enable-live-query');
85
if (!(query instanceof AV.Query)) throw new TypeError('LiveQuery must be inited with a Query');
86
- const { where, keys } = query.toJSON();
+ const { where, keys, returnACL } = query.toJSON();
87
return Promise.resolve(userDefinedSubscriptionId)
88
.then(subscriptionId =>
89
request({
@@ -93,6 +93,7 @@ module.exports = (AV) => {
93
query: {
94
where,
95
keys,
96
+ returnACL,
97
className: query.className,
98
},
99
id: subscriptionId,
0 commit comments