|
@@ -1,5 +1,5 @@
|
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
-: ${SMS_API:=https://room-cal.sea.zi3.fi}
|
|
|
|
|
|
|
+: ${SMS_API:=https://room-api.sea.zi3.fi}
|
|
|
: ${SMS_TOKEN:=foobar}
|
|
: ${SMS_TOKEN:=foobar}
|
|
|
if [[ -z "$SMS_API" ]]; then
|
|
if [[ -z "$SMS_API" ]]; then
|
|
|
echo "booking_sms: SMS_API not set" 1>&2
|
|
echo "booking_sms: SMS_API not set" 1>&2
|
|
@@ -22,4 +22,4 @@ echo curl -fsS \
|
|
|
"${SMS_API%/}/sms/code"
|
|
"${SMS_API%/}/sms/code"
|
|
|
|
|
|
|
|
# Always clean for Sieve
|
|
# Always clean for Sieve
|
|
|
-exit 0
|
|
|
|
|
|
|
+exit 0
|