File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ require('dotenv').config({ path: __dirname + '/../.env' });
33const VONAGE_APPLICATION_ID = process . env . VONAGE_APPLICATION_ID ;
44const VONAGE_PRIVATE_KEY = process . env . VONAGE_PRIVATE_KEY ;
55const MESSAGES_TO_NUMBER = process . env . MESSAGES_TO_NUMBER ;
6- const MMS_SEENDER_ID = process . env . MMS_SEENDER_ID ;
6+ const MMS_SENDER_ID = process . env . MMS_SENDER_ID ;
77const MESSAGES_AUDIO_URL = process . env . MESSAGES_AUDIO_URL ;
88const MESSAGES_API_URL = process . env . MESSAGES_API_URL ;
99
@@ -33,7 +33,7 @@ vonage.messages.send({
3333 url : MESSAGES_AUDIO_URL ,
3434 } ,
3535 to : MESSAGES_TO_NUMBER ,
36- from : MMS_SEENDER_ID ,
36+ from : MMS_SENDER_ID ,
3737} )
3838 . then ( ( { messageUUID } ) => console . log ( messageUUID ) )
3939 . catch ( ( error ) => console . error ( error ) ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ require('dotenv').config({ path: __dirname + '/../.env' });
33const VONAGE_APPLICATION_ID = process . env . VONAGE_APPLICATION_ID ;
44const VONAGE_PRIVATE_KEY = process . env . VONAGE_PRIVATE_KEY ;
55const MESSAGES_TO_NUMBER = process . env . MESSAGES_TO_NUMBER ;
6- const MMS_SEENDER_ID = process . env . MMS_SEENDER_ID ;
6+ const MMS_SENDER_ID = process . env . MMS_SENDER_ID ;
77const MESSAGES_VCARD_URL = process . env . MESSAGES_VCARD_URL ;
88const MESSAGES_API_URL = process . env . MESSAGES_API_URL ;
99
@@ -33,7 +33,7 @@ vonage.messages.send({
3333 url : MESSAGES_VCARD_URL ,
3434 } ,
3535 to : MESSAGES_TO_NUMBER ,
36- from : MMS_SEENDER_ID ,
36+ from : MMS_SENDER_ID ,
3737} )
3838 . then ( ( { messageUUID } ) => console . log ( messageUUID ) )
3939 . catch ( ( error ) => console . error ( error ) ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ require('dotenv').config({ path: __dirname + '/../.env' });
33const VONAGE_APPLICATION_ID = process . env . VONAGE_APPLICATION_ID ;
44const VONAGE_PRIVATE_KEY = process . env . VONAGE_PRIVATE_KEY ;
55const MESSAGES_TO_NUMBER = process . env . MESSAGES_TO_NUMBER ;
6- const MMS_SEENDER_ID = process . env . MMS_SEENDER_ID ;
6+ const MMS_SENDER_ID = process . env . MMS_SENDER_ID ;
77const MESSAGES_VIDEO_URL = process . env . MESSAGES_VIDEO_URL ;
88const MESSAGES_API_URL = process . env . MESSAGES_API_URL ;
99
@@ -33,7 +33,7 @@ vonage.messages.send({
3333 url : MESSAGES_VIDEO_URL ,
3434 } ,
3535 to : MESSAGES_TO_NUMBER ,
36- from : MMS_SEENDER_ID ,
36+ from : MMS_SENDER_ID ,
3737} )
3838 . then ( ( { messageUUID } ) => console . log ( messageUUID ) )
3939 . catch ( ( error ) => console . error ( error ) ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ require('dotenv').config({ path: __dirname + '/../.env' });
33const VONAGE_APPLICATION_ID = process . env . VONAGE_APPLICATION_ID ;
44const VONAGE_PRIVATE_KEY = process . env . VONAGE_PRIVATE_KEY ;
55const MESSAGES_TO_NUMBER = process . env . MESSAGES_TO_NUMBER ;
6- const MMS_SEENDER_ID = process . env . MMS_SEENDER_ID ;
6+ const MMS_SENDER_ID = process . env . MMS_SENDER_ID ;
77const MESSAGES_IMAGE_URL = process . env . MESSAGES_IMAGE_URL ;
88const MESSAGES_API_URL = process . env . MESSAGES_API_URL ;
99
@@ -33,7 +33,7 @@ vonage.messages.send({
3333 url : MESSAGES_IMAGE_URL ,
3434 } ,
3535 to : MESSAGES_TO_NUMBER ,
36- from : MMS_SEENDER_ID ,
36+ from : MMS_SENDER_ID ,
3737} )
3838 . then ( ( { messageUUID } ) => console . log ( messageUUID ) )
3939 . catch ( ( error ) => console . error ( error ) ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ require('dotenv').config({ path: __dirname + '/../.env' });
33const VONAGE_API_KEY = process . env . VONAGE_API_KEY ;
44const VONAGE_API_SECRET = process . env . VONAGE_API_SECRET ;
55const MESSAGES_TO_NUMBER = process . env . MESSAGES_TO_NUMBER ;
6- const SMS_SEENDER_ID = process . env . SMS_SEENDER_ID ;
6+ const SMS_SENDER_ID = process . env . SMS_SENDER_ID ;
77const MESSAGES_API_URL = process . env . MESSAGES_API_URL ;
88
99const { Vonage } = require ( '@vonage/server-sdk' ) ;
@@ -30,7 +30,7 @@ vonage.messages.send({
3030 channel : Channels . SMS ,
3131 text : 'This is an SMS text message sent using the Messages API' ,
3232 to : MESSAGES_TO_NUMBER ,
33- from : SMS_SEENDER_ID ,
33+ from : SMS_SENDER_ID ,
3434} )
3535 . then ( ( { messageUUID } ) => console . log ( messageUUID ) )
3636 . catch ( ( error ) => console . error ( error ) ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ require('dotenv').config({ path: __dirname + '/../.env' });
33const VONAGE_APPLICATION_ID = process . env . VONAGE_APPLICATION_ID ;
44const VONAGE_PRIVATE_KEY = process . env . VONAGE_PRIVATE_KEY ;
55const MESSAGES_TO_NUMBER = process . env . MESSAGES_TO_NUMBER ;
6- const SMS_SEENDER_ID = process . env . SMS_SEENDER_ID ;
6+ const SMS_SENDER_ID = process . env . SMS_SENDER_ID ;
77const MESSAGES_API_URL = process . env . MESSAGES_API_URL ;
88
99const { Vonage } = require ( '@vonage/server-sdk' ) ;
@@ -30,7 +30,7 @@ vonage.messages.send({
3030 channel : Channels . SMS ,
3131 text : 'This is an SMS text message sent using the Messages API' ,
3232 to : MESSAGES_TO_NUMBER ,
33- from : SMS_SEENDER_ID ,
33+ from : SMS_SENDER_ID ,
3434} )
3535 . then ( ( { messageUUID } ) => console . log ( messageUUID ) )
3636 . catch ( ( error ) => console . error ( error ) ) ;
You can’t perform that action at this time.
0 commit comments