Skip to content

Commit c49f8aa

Browse files
committed
refactor: simplify query handling in maybeRunAfterFindTrigger
1 parent 6ec28a8 commit c49f8aa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/triggers.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,6 @@ export function maybeRunAfterFindTrigger(
470470
const parseQueryInstance = new Parse.Query(classNameQuery);
471471
if (query.where) {
472472
parseQueryInstance.withJSON(query);
473-
} else {
474-
parseQueryInstance.withJSON({ where: {}, ...query });
475473
}
476474
request.query = parseQueryInstance;
477475
} else {

0 commit comments

Comments
 (0)