Skip to content

Commit da00c1a

Browse files
authored
Merge pull request #4 from reactioncommerce/fix-kieckahfer-updateLockedTrack
fix: change query to allow for locked not being set
2 parents 332b5ff + a6dcc8a commit da00c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/lockTrack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function lockTrack({ db, namespace }) {
1616

1717
try {
1818
await collection.updateOne({
19-
locked: false,
19+
locked: { $ne: true },
2020
namespace
2121
}, {
2222
$set: {

0 commit comments

Comments
 (0)