mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
fix formatting and merge issues
This commit is contained in:
parent
44e0fb61c8
commit
a600ef03d6
@ -194,7 +194,7 @@ module.exports = function(RED) {
|
|||||||
coll.find(selector).project(msg.projection).sort(msg.sort).limit(limit).skip(skip).toArray(function(err, items) {
|
coll.find(selector).project(msg.projection).sort(msg.sort).limit(limit).skip(skip).toArray(function(err, items) {
|
||||||
if (err) {
|
if (err) {
|
||||||
node.error(err);
|
node.error(err);
|
||||||
> }
|
}
|
||||||
else {
|
else {
|
||||||
msg.payload = items;
|
msg.payload = items;
|
||||||
delete msg.projection;
|
delete msg.projection;
|
||||||
|
Loading…
Reference in New Issue
Block a user