Skip to content

Conversation

betafcc
Copy link

@betafcc betafcc commented Dec 5, 2023

On the last fix (#45), the payload is not correctly being set, see the line:

if (!node.msg.payload) node.msg.payload = {};

If the payload is previously set to a string (as noted by #50), it will not work properly

Besides that, the payload was init only for success case, but not for error case, this PR fixes the payload initialization on both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant