adapt-authoring-content 2.1.0 → 2.1.1

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.
@@ -275,7 +275,7 @@ class ContentModule extends AbstractApiModule {
275
275
  }
276
276
  return Promise.all(siblings.map(async (s, i) => {
277
277
  const _sortOrder = i + 1
278
- if (s._sortOrder !== _sortOrder) super.update({ _id: s._id }, { _sortOrder })
278
+ if (s._sortOrder !== _sortOrder) return super.update({ _id: s._id }, { _sortOrder })
279
279
  }))
280
280
  }
281
281
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-content",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
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",