adapt-authoring-content 2.1.2 → 2.1.3

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.
@@ -258,7 +258,7 @@ class ContentModule extends AbstractApiModule {
258
258
  createdBy: userId,
259
259
  ...customData
260
260
  })
261
- const newData = await this.insert(payload, { schemaName })
261
+ const newData = await this.insert(payload, { schemaName, validate: false })
262
262
 
263
263
  if (originalDoc._type === 'course') {
264
264
  const [config] = await this.find({ _type: 'config', _courseId: originalDoc._courseId })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-content",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
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",