Skip to content

Commit 46c10d6

Browse files
committed
Change hangover.sh to use more modern /Messages
1 parent 87da07c commit 46c10d6

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)