mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-20 04:53:06 -06:00
Fix error
This commit is contained in:
parent
2059f8455d
commit
d01838ac84
@ -127,7 +127,7 @@ module.exports = function(RED) {
|
||||
}
|
||||
|
||||
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);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user