Skip to content

Commit

Permalink
fix(firestore, web): change the interop to fix an issue with startAt/…
Browse files Browse the repository at this point in the history
…endAt when compilating with dart2js in release mode
  • Loading branch information
Lyokone committed Jul 28, 2022
1 parent 4184d33 commit 46d6b1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ class Query<T extends firestore_interop.QueryJsImpl>
? [snapshot.jsObject]
: fieldValues!.map(jsify).toList();

return callMethod(method, 'apply', [null, jsify(args)]);
return callMethod(method, 'apply', jsify([null, args]));
}
}

Expand Down

0 comments on commit 46d6b1d

Please sign in to comment.