Skip to content

Commit ad6ad7e

Browse files
authored
Update application name (#76)
1 parent 6fe4e4d commit ad6ad7e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.env-example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SERVER_BASE_URL=https://example.com
1313
SMS_CALLBACK_URL=
1414

1515
# Applications
16-
NAME=
16+
APPLICATION_NAME=
1717

1818
# Voice
1919
CONF_NAME=

applications/create-application-v2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ require('dotenv').config({ path: __dirname + '/../.env' })
22

33
const NEXMO_API_KEY = process.env.NEXMO_API_KEY
44
const NEXMO_API_SECRET = process.env.NEXMO_API_SECRET
5-
const NAME = process.env.NAME
5+
const APPLICATION_NAME = process.env.APPLICATION_NAME
66

77
const Nexmo = require('nexmo')
88

@@ -14,7 +14,7 @@ var nexmo = new Nexmo({
1414
});
1515

1616
nexmo.applications.create({
17-
name: NAME,
17+
name: APPLICATION_NAME,
1818
capabilities: {
1919
voice: {
2020
webhooks: {

0 commit comments

Comments
 (0)