Skip to content
Permalink
Browse files

hotfix: user.rooms on unclaim

DEV-409
  • Loading branch information
o4kapuk committed Aug 9, 2019
1 parent 17810b8 commit 293021d047cec1cc367f7b9c47de1843036349f2
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/db.js
@@ -69,7 +69,7 @@ function updateDocument(doc, update) {
}
}
if(update.$pull) {
for(let i in update.$addToSet) {
for(let i in update.$pull) {
if(!doc[i]) {
continue;
}
@@ -517,4 +517,4 @@ module.exports = {
console.error(e);
}
}
};
};

0 comments on commit 293021d

Please sign in to comment.
You can’t perform that action at this time.