mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #390 from hindessm/fix-base64-udp-send
Fix base64 udp send
This commit is contained in:
commit
27149fe10f
@ -142,7 +142,7 @@ module.exports = function(RED) {
|
|||||||
} else {
|
} else {
|
||||||
var message;
|
var message;
|
||||||
if (node.base64) {
|
if (node.base64) {
|
||||||
message = new Buffer(b64string, 'base64');
|
message = new Buffer(msg.payload, 'base64');
|
||||||
} else if (msg.payload instanceof Buffer) {
|
} else if (msg.payload instanceof Buffer) {
|
||||||
message = msg.payload;
|
message = msg.payload;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user