Fix error

This commit is contained in:
Patrick Kranz
2025-01-09 15:14:50 +01:00
committed by GitHub
parent 2059f8455d
commit d01838ac84
+1 -1
View File
@@ -127,7 +127,7 @@ module.exports = function(RED) {
} }
if(msgFormat === 'msg.format') { if(msgFormat === 'msg.format') {
if(!Object.keys(msg).includes(format)) { if(!Object.keys(msg).includes("format")) {
node.error("Message format is set to be passed in via msg.format but was not defined", msg); node.error("Message format is set to be passed in via msg.format but was not defined", msg);
return; return;
} }