We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56b2ae2 commit e4140b8Copy full SHA for e4140b8
convertors/set-user-workspaces-membership.js
@@ -28,6 +28,11 @@ async function run() {
28
29
const userDocument = usersDocuments.find(u => u._id.toString() === userId);
30
31
+ if (!userDocument) {
32
+ i++;
33
+ continue;
34
+ }
35
+
36
const memberships = await hawkDb.collection(collectionName).find({}).toArray();
37
38
for (const membership of memberships) {
0 commit comments