Skip to content

Commit eec27c1

Browse files
Merge pull request #256 from terminusdb/printerFix
Printer fix
2 parents b2a3184 + 52d8269 commit eec27c1

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

lib/query/woqlPrinter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ WOQLPrinter.prototype.printArgument = function (operator, predicate, arg, level,
198198
str += reet;
199199
} else if (typeof arg === 'string') {
200200
str += this.uncleanArgument(arg, operator, predicate);
201-
}
201+
} else if (typeof arg === 'number') return arg;
202202
return str;
203203
};
204204

lib/woqlClient.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,6 @@ WOQLClient.prototype.getDocument = function (params, dbId, branch, lastDataVersi
12081208
delete params.query;
12091209
}
12101210
// if query we are send a get with a payload
1211-
// console.log(this.connectionConfig.documentURL(params));
12121211

12131212
if (queryDoc) {
12141213
return this.dispatch(

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)