@kravc/dos 1.11.5 → 1.11.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Document.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kravc/dos",
3
- "version": "1.11.5",
3
+ "version": "1.11.6",
4
4
  "description": "Convention-based, easy-to-use library for building API-driven serverless services.",
5
5
  "keywords": [
6
6
  "Service",
package/src/Document.js CHANGED
@@ -150,7 +150,7 @@ class Document extends Component {
150
150
  }
151
151
 
152
152
  static _read({ id = 'NONE' }) {
153
- return cloneDeep(STORE[this.name][id])
153
+ return cloneDeep(get(STORE, `${this.name}.${id}`))
154
154
  }
155
155
 
156
156
  static async index(context, query = {}, options = {}) {