@livequery/nestjs 1.0.32 → 1.0.33

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.
@@ -16,7 +16,7 @@ class PathHelper {
16
16
  const ref = refs.join('/');
17
17
  const collection_ref = is_collection ? ref : refs.slice(0, refs.length - 1).join('/');
18
18
  const schema_ref = refs.filter((_, i) => i % 2 == 0).join('/');
19
- const doc_id = is_collection ? refs[refs.length - 1] : null;
19
+ const doc_id = is_collection ? null : refs[refs.length - 1];
20
20
  return { ref, schema_ref, is_collection, doc_id, collection_ref };
21
21
  }
22
22
  static nestjsPathResolver(target, method) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "repository": {
4
4
  "url": "git@github.com:livequery/nestjs.git"
5
5
  },
6
- "version": "1.0.32",
6
+ "version": "1.0.33",
7
7
  "description": "",
8
8
  "main": "build/index.js",
9
9
  "types": "build/index.d.ts",