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.
@@ -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),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-content",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "Module for managing Adapt content",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-content",
6
6
  "license": "GPL-3.0",