Skip to content

Commit

Permalink
🥅 Remove agent check from QueryEmitter
Browse files Browse the repository at this point in the history
Removes another agent check missed in #457
  • Loading branch information
alecgibson committed Apr 7, 2021
1 parent d95eced commit 10d40e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/query-emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ QueryEmitter.prototype.queryPoll = function(callback) {
var inserted = getInserted(idsDiff);
if (inserted.length) {
var snapshotOptions = {};
if (emitter.agent) snapshotOptions.agentCustom = emitter.agent.custom;
snapshotOptions.agentCustom = emitter.agent.custom;

function _getSnapshotBulkCb(err, snapshotMap) {
if (err) return emitter._finishPoll(err, callback, pending);
Expand Down

0 comments on commit 10d40e0

Please sign in to comment.