Skip to content

Commit de24568

Browse files
committed
Merge pull request NARKOZ#19 from carlosdp/patch-1
Use modern Twilio Messaging endpoint
2 parents c90b34c + db38986 commit de24568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smack-my-bitch-up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ MESSAGE="Late at work. "$RANDOM_REASON
2929
# Send a text message
3030
RESPONSE=`curl -fSs -u "$TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN" \
3131
-d "From=$MY_NUMBER" -d "To=$HER_NUMBER" -d "Body=$MESSAGE" \
32-
"https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/SMS/Messages"`
32+
"https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages"`
3333

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

0 commit comments

Comments
 (0)