Skip to content

Commit 276fe50

Browse files
committed
fix for sort option. nano handles JSON.stringify now
1 parent 05f6a44 commit 276fe50

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

77-cloudant-cf.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,6 @@ module.exports = function(RED) {
259259
options.include_docs = options.include_docs || true;
260260
options.limit = options.limit || 200;
261261

262-
if (options.sort) {
263-
options.sort = JSON.stringify(options.sort);
264-
}
265-
266262
db.search(node.design, node.index, options, function(err, body) {
267263
sendDocumentOnPayload(err, body, msg);
268264
});

0 commit comments

Comments
 (0)