This topic was automatically generated from Slack. You can find the original thread here.
Hi team, I wanted report a bug that I encountered. The example code in the Environment Variables page in the Workspace Settings have a bug, on first load it will show
console.log(({}).MY_ENV_VAR)
const url = `http://yourapi.com/endpoint/?api_key=${({}).API_KEY}
But if you refresh it, it’ll show the correct sample code
console.log(process.env.MY_ENV_VAR)
const url = `http://yourapi.com/endpoint/?api_key=${process.env.API_KEY}

