Skip to content

Commit

Permalink
fix: change query to allow for locked not being set
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Kieckhafer <[email protected]>
  • Loading branch information
kieckhafer authored Feb 27, 2020
1 parent 332b5ff commit a6dcc8a
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 a6dcc8a

Please sign in to comment.