Hello, I'm trying to get an additional object from the original payload, by using a switch node that uses msg.payload.ice-dao.usd, multiplies by 100 and create a new object called msg.payload.ice-dao.usd_icy
but the output does not show that. here's the flow:
[{"id":"eb77f7e5f14f682d","type":"function","z":"c624652d72ac174f","name":"ICE coingecko","func":"msg.url = \"https://api.coingecko.com/api/v3/simple/price?ids=ice-dao&vs_currencies=usd&include_market_cap=true&include_24hr_vol=true&include_24hr_change=true&include_last_updated_at=true\";\nmsg.method = \"GET\";\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":300,"y":520,"wires":[["64055af5a406832b"]]},{"id":"4860483abe8a5964","type":"inject","z":"c624652d72ac174f","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":520,"wires":[["eb77f7e5f14f682d"]]},{"id":"64055af5a406832b","type":"http request","z":"c624652d72ac174f","name":"","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":false,"proxy":"","authType":"","senderr":false,"x":470,"y":520,"wires":[["67a0429a463c5598"]]},{"id":"67a0429a463c5598","type":"change","z":"c624652d72ac174f","name":"ADD ICY","rules":[{"t":"set","p":"payload.ice-dao.usd_icy","pt":"msg","to":"payload.ice-dao.usd*100","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":520,"wires":[["3eb944614340e552"]]},{"id":"3eb944614340e552","type":"debug","z":"c624652d72ac174f","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":520,"wires":[]}]
can anyone help?