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 d3eb2e1 commit b65ea31Copy full SHA for b65ea31
lib/query/woqlQuery.js
@@ -1070,8 +1070,8 @@ WOQLQuery.prototype.type_of = function (a, b) {
1070
if (!a || !b) return this.parameterError('type_of takes two parameters, both values');
1071
if (this.cursor['@type']) this.wrapCursorWithAnd();
1072
this.cursor['@type'] = 'TypeOf';
1073
- this.cursor.value = this.cleanClass(a);
1074
- this.cursor.type = this.cleanClass(b);
+ this.cursor.value = this.cleanObject(a);
+ this.cursor.type = this.cleanSubject(b);
1075
return this;
1076
};
1077
0 commit comments