formatter issue

This commit is contained in:
Kévin Michelet 2021-01-02 11:50:41 +01:00
parent a600ef03d6
commit 81ff06cf88
1 changed files with 1 additions and 1 deletions

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);