adapt-authoring-content 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ContentModule.js +1 -1
- package/package.json +1 -1
package/lib/ContentModule.js
CHANGED
|
@@ -151,7 +151,7 @@ class ContentModule extends AbstractApiModule {
|
|
|
151
151
|
const descendants = await getDescendants(q => this.find(q), targetDoc)
|
|
152
152
|
|
|
153
153
|
await Promise.all([...descendants, targetDoc].map(d => {
|
|
154
|
-
return super.delete({ _id: d._id })
|
|
154
|
+
return super.delete({ _id: d._id }, options, mongoOptions)
|
|
155
155
|
}))
|
|
156
156
|
await Promise.all([
|
|
157
157
|
this.updateEnabledPlugins(targetDoc),
|