mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
telegram-chat: drop extra conversion
This commit is contained in:
@ -67,7 +67,7 @@ $WaitFullyConnected;
|
||||
|
||||
:local UpdateID 0;
|
||||
:local Uptime [ /system/resource/get uptime ];
|
||||
:foreach UpdateArray in=[ :toarray ([ $ParseJson $Data ]->"result") ] do={
|
||||
:foreach UpdateArray in=([ $ParseJson $Data ]->"result") do={
|
||||
:local Update [ $ParseJson $UpdateArray ];
|
||||
:set UpdateID ($Update->"update_id");
|
||||
:local Message [ $ParseJson ($Update->"message") ];
|
||||
|
Reference in New Issue
Block a user