mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: fix missing colon
This commit is contained in:
parent
c9175d8e5e
commit
bfca11c9ad
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@
|
|||
# https://certs.godaddy.com/repository/gdroot-g2.crt
|
||||
# https://certs.godaddy.com/repository/gdig2.crt.pem
|
||||
:if ([ :len $"telegram-tokenid" ] > 0 && [ :len $"telegram-chatid" ] > 0) do={
|
||||
do {
|
||||
/ tool fetch check-certificate=yes-without-crl keep-result=no http-method=post \
|
||||
:do {
|
||||
/ tool fetch check-certificate=yes-without-crl keep-result=no http-method=post \
|
||||
("https://api.telegram.org/bot" . $"telegram-tokenid" . "/sendMessage") \
|
||||
http-data=("chat_id=" . $"telegram-chatid" . "&text=" . [ $UrlEncode $message ]);
|
||||
} on-error={
|
||||
|
|
Loading…
Reference in a new issue