-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Cleanup update #1590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup update #1590
Conversation
Current coverage is
|
@@ -283,50 +285,42 @@ DatabaseController.prototype.removeRelation = function(key, fromClassName, fromI | |||
// one of the provided strings must provide the caller with | |||
// write permissions. | |||
DatabaseController.prototype.destroy = function(className, query, options = {}) { | |||
var isMaster = !('acl' in options); | |||
var aclGroup = options.acl || []; | |||
const isMaster = !('acl' in options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could do the same rework with replacing options by { acl } = {}
@drew-gross updated the pull request. |
2d4c770
to
397124a
Compare
@drew-gross updated the pull request. |
Move mongo specific object deletion logic into mongo adapter.