Skip to content

Commit a4c4c5e

Browse files
committed
Merge pull request NARKOZ#22 from carlosdp/patch-2
Change hangover.sh to use more modern /Messages
2 parents de24568 + 46c10d6 commit a4c4c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hangover.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ MESSAGE="Gonna work from home. "$RANDOM_EXCUSE
3030
# Send a text message
3131
RESPONSE=`curl -fSs -u "$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN" \
3232
-d "From=$MY_NUMBER" -d "To=$NUMBER_OF_BOSS" -d "Body=$MESSAGE" \
33-
"https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/SMS/Messages"`
33+
"https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages"`
3434

3535
# Log errors
3636
if [ $? -gt 0 ]; then

0 commit comments

Comments
 (0)