We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56789c2 commit 91b202bCopy full SHA for 91b202b
src/index.js
@@ -149,7 +149,7 @@
149
var _this = this;
150
151
id = DSUtils.resolveId(_this.definitions[resourceName], id);
152
- if (!DS.definitions[resourceName]) {
+ if (!_this.definitions[resourceName]) {
153
throw new DSErrors.NER(resourceName);
154
} else if (!DSUtils.isString(id) && !DSUtils.isNumber(id)) {
155
throw new DSErrors.IA('"id" must be a string or a number!');
0 commit comments