From bfca11c9ad391862a643f53e8a00c5a62743cc80 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 15 Oct 2018 09:57:13 +0200 Subject: global-functions: fix missing colon --- global-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index d0494c4..1c061f8 100644 --- a/global-functions +++ b/global-functions @@ -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={ -- cgit v1.2.3-70-g09d2