Skip to content

Commit

Permalink
Merge pull request #4 from reactioncommerce/fix-kieckahfer-updateLock…
Browse files Browse the repository at this point in the history
…edTrack

fix: change query to allow for locked not being set
  • Loading branch information
aldeed authored Feb 27, 2020
2 parents 332b5ff + a6dcc8a commit da00c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/lockTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function lockTrack({ db, namespace }) {

try {
await collection.updateOne({
locked: false,
locked: { $ne: true },
namespace
}, {
$set: {
Expand Down

0 comments on commit da00c1a

Please sign in to comment.