@statezero/core 0.1.80 → 0.1.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -219,11 +219,9 @@ export class QueryExecutor {
|
|
|
219
219
|
const ModelClass = querySet.ModelClass;
|
|
220
220
|
const modelName = ModelClass.modelName;
|
|
221
221
|
const apiCallArgs = {
|
|
222
|
-
filter: args.filter,
|
|
223
222
|
data: args.data || {},
|
|
224
223
|
};
|
|
225
|
-
|
|
226
|
-
const operation = OperationFactory.createUpdateOperation(querySet, apiCallArgs.data, apiCallArgs.filter);
|
|
224
|
+
const operation = OperationFactory.createUpdateOperation(querySet, apiCallArgs.data, querySet.build().filter);
|
|
227
225
|
const estimatedCount = operation.instances.length;
|
|
228
226
|
let liveResult = [estimatedCount, { [modelName]: estimatedCount }];
|
|
229
227
|
const promise = makeApiCall(querySet, operationType, apiCallArgs, operation.operationId)
|
package/package.json
CHANGED