From 46c10d6bc8c6108ea321f9e5ba13368851a7bfa5 Mon Sep 17 00:00:00 2001 From: Carlos Diaz-Padron Date: Mon, 23 Nov 2015 13:55:17 -0800 Subject: [PATCH] Change hangover.sh to use more modern /Messages --- hangover.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hangover.sh b/hangover.sh index 6f4dfdf..bb57481 100755 --- a/hangover.sh +++ b/hangover.sh @@ -30,7 +30,7 @@ MESSAGE="Gonna work from home. "$RANDOM_EXCUSE # Send a text message RESPONSE=`curl -fSs -u "$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN" \ -d "From=$MY_NUMBER" -d "To=$NUMBER_OF_BOSS" -d "Body=$MESSAGE" \ - "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/SMS/Messages"` + "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages"` # Log errors if [ $? -gt 0 ]; then