adapt-authoring-api 3.2.0 → 3.2.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.
@@ -97,7 +97,7 @@ class AbstractApiModule extends AbstractModule {
97
97
  * @type {Hook}
98
98
  */
99
99
  this.accessCheckHook = new Hook()
100
-
100
+
101
101
  await this.setValues()
102
102
  this.validateValues()
103
103
  await this.addRoutes()
@@ -146,7 +146,7 @@ class AbstractApiModule extends AbstractModule {
146
146
  query: this.queryHandler(),
147
147
  serveSchema: this.serveSchema.bind(this)
148
148
  },
149
- defaults: new URL('./default-routes.json', import.meta.url).pathname
149
+ defaults: new URL('../default-routes.json', import.meta.url).pathname
150
150
  })
151
151
  if (config) this.applyRouteConfig(config)
152
152
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-api",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "Abstract module for creating APIs",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-api",
6
6
  "license": "GPL-3.0",