aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-10-15 09:57:13 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-10-15 09:57:13 +0200
commitbfca11c9ad391862a643f53e8a00c5a62743cc80 (patch)
tree370f2a238f8a7ceb4da774700840c957328bdc1c
parentc9175d8e5e9a4fa56c21013223ddbceb5d7acbaa (diff)
global-functions: fix missing colon
-rw-r--r--global-functions4
1 files changed, 2 insertions, 2 deletions
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={