Skip to content

Commit

Permalink
Update Synchronizer.js
Browse files Browse the repository at this point in the history
Fixed missing assignment after refactor.
  • Loading branch information
CharlieDigital authored May 31, 2022
1 parent cc24efb commit 3a1001a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Synchronizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ module.exports = Class.extend({
var client;

if (opts.localhostTarget) {
this._makeLocalDocClient(def, opts.localhostTarget);
client = this._makeLocalDocClient(def, opts.localhostTarget);
} else {
this._makeDocClient(def, opts.slaveCredentials);
client = this._makeDocClient(def, opts.slaveCredentials);
}

return _.extend({}, def, { id: (def.region + ':' + def.name), docs: client });
Expand Down

0 comments on commit 3a1001a

Please sign in to comment.