countly-server
countly-server copied to clipboard
[WIP] [SUP-3] [core] Create remove member old permission script
Hello, maybe stupid question, but why it could not have been just updateMany({ permission: { $exists: true } }, {$unset:{user_of:1, admin_of:1}) kind of thing?
This pull request introduces 1 alert when merging 34eb73d6c3fbff7e67d31c4b6c453b5441fc75a0 into 5e784b21b5f286aab9bc6f5b626b920b732ed77b - view on LGTM.com
new alerts:
- 1 for Unused variable, import, function or class
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication