We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.remove()
1 parent 11983cf commit 00dc971Copy full SHA for 00dc971
files.coffee
@@ -2027,7 +2027,7 @@ class FilesCollection
2027
2028
if Meteor.isClient
2029
if @allowClientCode
2030
- @config.ddp.call @_methodNames._Remove, selector, (callback or NOOP)
+ @ddp.call @_methodNames._Remove, selector, (callback or NOOP)
2031
else
2032
callback and callback new Meteor.Error 401, '[FilesCollection] [remove] Run code from client is not allowed!'
2033
console.warn '[FilesCollection] [remove] Run code from client is not allowed!' if @debug
0 commit comments