We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe4e4d commit ad6ad7eCopy full SHA for ad6ad7e
.env-example
@@ -13,7 +13,7 @@ SERVER_BASE_URL=https://example.com
13
SMS_CALLBACK_URL=
14
15
# Applications
16
-NAME=
+APPLICATION_NAME=
17
18
# Voice
19
CONF_NAME=
applications/create-application-v2.js
@@ -2,7 +2,7 @@ require('dotenv').config({ path: __dirname + '/../.env' })
2
3
const NEXMO_API_KEY = process.env.NEXMO_API_KEY
4
const NEXMO_API_SECRET = process.env.NEXMO_API_SECRET
5
-const NAME = process.env.NAME
+const APPLICATION_NAME = process.env.APPLICATION_NAME
6
7
const Nexmo = require('nexmo')
8
@@ -14,7 +14,7 @@ var nexmo = new Nexmo({
});
nexmo.applications.create({
- name: NAME,
+ name: APPLICATION_NAME,
capabilities: {
voice: {
20
webhooks: {
0 commit comments