node-red/node-red.github.io

Incorrect documentation about using environment variables inside functions

davidsavoie1 opened this issue · 2 comments

What are the steps to reproduce?

Follow documentation on how to get an environment variable inside a function node: get(..).

What happens?

Error stating that get is not defined.

What do you expect to happen?

Fix documentation to properly explain how to use environment variables in function nodes: env.get(..).

Please tell us about your environment:

  • Node-RED version:
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Moving this over to the documentation repo.

Oh... Sorry, didn't see this repo! 🙄