Skip to content

Commit 52d8269

Browse files
committed
fixing printer to display correct limit argument
1 parent d00af03 commit 52d8269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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

0 commit comments

Comments
 (0)