Skip to content

Commit 30d4a25

Browse files
author
Mark Lewin
committed
Use app_id instead of deprecated messagesCallback*
1 parent 6e160c3 commit 30d4a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numbers/update-number.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ curl -X POST \
66
"https://rest.nexmo.com/number/update?api_key=$NEXMO_API_KEY&api_secret=$NEXMO_API_SECRET" \
77
-H "Content-Type: application/x-www-form-urlencoded" \
88
-d "country=$COUNTRY_CODE&msisdn=$NEXMO_NUMBER&moHttpUrl=$SMS_CALLBACK_URL" \
9-
-d "&messagesCallbackType=app&messagesCallbackValue=$MESSAGES_APPLICATION_ID" \
9+
-d "&messagesCallbackType=app&messagesCallbackValue=$NEXMO_APPLICATION_ID" \
1010
-d "&voiceCallbackType=$VOICE_CALLBACK_TYPE&voiceCallbackValue=$VOICE_CALLBACK_VALUE&voiceStatusCallback=$VOICE_STATUS_URL"

0 commit comments

Comments
 (0)