global-functions: fix missing colon

This commit is contained in:
Christian Hesse 2018-10-15 09:57:13 +02:00
parent c9175d8e5e
commit bfca11c9ad

View file

@ -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={