Syntax error: Unexpected token 'return'

Im new with Node-Red (I program to survive...) I need some help with this trubble..I not sure where is the problem, I think it is related to "if" sequence because I have "Debuged" the rest and seems to be OK.

Node-RED version: v2.1.3
Node.js version: v16.13.0
Thank you!

Hi @alvconsan

For future reference, it is much easier to help debug code if you provide the code itself rather than a screenshot.

That said, I can see you have an extra } on line 9 that should be deleted. is true.
Ok, nice advise!
thank you!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.