You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, the issue is that Modules.addCached is expecting a statement, but you were giving it an expression.

    If you typed {ssid: "ssidVal"} at the console it'd fail too, because when it sees { it's expecting a block of code and not JSON.

    To work around it, you can surround the JSON in brackets: ({ssid: "ssidVal"}) - but in this case it's not actually going to have the effect you want.

About

Avatar for Gordon @Gordon started