Skip to content

Commit

Permalink
Merge pull request NARKOZ#22 from carlosdp/patch-2
Browse files Browse the repository at this point in the history
Change hangover.sh to use more modern /Messages
  • Loading branch information
NARKOZ committed Nov 23, 2015
2 parents de24568 + 46c10d6 commit a4c4c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hangover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4c4c5e

Please sign in to comment.