adapt-authoring-adaptframework 2.3.1 → 2.3.2

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.
@@ -7,7 +7,7 @@ import { App } from 'adapt-authoring-core'
7
7
  */
8
8
  export async function slugifyTitle (buildData) {
9
9
  const content = await App.instance.waitForModule('content')
10
- const [course] = await content.find({ _id: buildData.courseId })
10
+ const course = await content.findOne({ _id: buildData.courseId })
11
11
  const sanitisedTitle = course.title
12
12
  .toLowerCase()
13
13
  .trim()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-adaptframework",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Adapt framework integration for the Adapt authoring tool",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-adaptframework",
6
6
  "license": "GPL-3.0",