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.
2 parents 56789c2 + 91b202b commit 5c8bc27Copy full SHA for 5c8bc27
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