Skip to content

Commit

Permalink
Merge pull request #458 from share/assert-agent
Browse files Browse the repository at this point in the history
🥅 Remove agent check from QueryEmitter
  • Loading branch information
alecgibson authored Apr 7, 2021
2 parents d95eced + 10d40e0 commit e29936c
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 e29936c

Please sign in to comment.