mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
telegram-chat: drop extra conversion
This commit is contained in:
parent
9138c17f8c
commit
4c365c131d
1 changed files with 1 additions and 1 deletions
|
@ -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") ];
|
||||
|
|
Loading…
Reference in a new issue