1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

formatter issue

This commit is contained in:
Kévin Michelet 2021-01-02 11:50:41 +01:00
parent a600ef03d6
commit 81ff06cf88

View File

@ -76,7 +76,7 @@ module.exports = function(RED) {
var connectToDB = function() {
MongoClient.connect(node.mongoConfig.url, function(err, client) {
if (err) {
node.status({ fill: "red", shape: "ring", text: RED._("mongodb.status.error") });
node.status({fill:"red",shape:"ring",text:RED._("mongodb.status.error")});
if (noerror) { node.error(err); }
noerror = false;
node.tout = setTimeout(connectToDB, 10000);