gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] branch master updated: fix script


From: gnunet
Subject: [taler-anastasis] branch master updated: fix script
Date: Fri, 15 Jan 2021 10:06:21 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new be10e4b  fix script
be10e4b is described below

commit be10e4b31cd7d1c1f250220b7fca8e750f577498
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 15 10:06:18 2021 +0100

    fix script
---
 src/lib/sms_authentication.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/lib/sms_authentication.sh b/src/lib/sms_authentication.sh
index 4d41c12..0c2c851 100755
--- a/src/lib/sms_authentication.sh
+++ b/src/lib/sms_authentication.sh
@@ -1,7 +1,10 @@
 #!/usr/bin/env bash
+# Note: to use this script, you must set
+# ANASTASIS_SMS_API_KEY and
+# ANASTASIS_SMS_API_SECRET environment variables.
 curl -X "POST" "https://rest.nexmo.com/sms/json"; \
      -d "from=Vonage APIs" \
      -d "text=$1" \
      -d "to=$2" \
-     -d "api_key=dummy" \
-     -d "api_secret=dummy"
+     -d "api_key=$ANASTASIS_SMS_API_KEY" \
+     -d "api_secret=$ANASTASIS_SMS_API_SECRET"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]