mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Rename RED.utils to RED.util. Fixes #364.
This commit is contained in:
@@ -160,7 +160,7 @@ module.exports = function(RED) {
|
||||
delete msg._session;
|
||||
payload = JSON.stringify(msg);
|
||||
} else {
|
||||
payload = RED.utils.ensureString(msg.payload);
|
||||
payload = RED.util.ensureString(msg.payload);
|
||||
}
|
||||
if (msg._session && msg._session.type == "websocket") {
|
||||
node.serverConfig.send(msg._session.id,payload);
|
||||
|
Reference in New Issue
Block a user