mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Re-lint a load of nodes
This commit is contained in:
@@ -144,11 +144,13 @@ module.exports = function(RED) {
|
||||
try {
|
||||
node.emit("input", {payload:"reset"});
|
||||
res.sendStatus(200);
|
||||
} catch (err) {
|
||||
}
|
||||
catch (err) {
|
||||
res.sendStatus(500);
|
||||
node.error("Inject failed:" + err);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
res.sendStatus(404);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user