-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the endpoint message to use app.name to match the endpoint route (
#76)
- Loading branch information
Showing
6 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var alexa = require('alexa-app'); | ||
|
||
// Allow this module to be reloaded by hotswap when changed | ||
module.change_code = 1; | ||
|
||
// Define an alexa-app | ||
var app = new alexa.app('bad_app_name_mismatch'); | ||
app.launch(function(req,res) { | ||
res.say("This app should message the app name endpoint, not the package.json name"); | ||
}); | ||
module.exports = app; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "bad_app_name-mismatch", | ||
"version": "1.0.0", | ||
"description": "A sample Alexa app", | ||
"main": "index.js", | ||
"author": "Matt Kruse <github@mattkruse.com> (http://mattkruse.com/)", | ||
"license": "ISC", | ||
"alexa": { | ||
"applicationId":"amzn1.echo-sdk-ams.app.999999-d0ed-9999-ad00-999999d00ebe" | ||
}, | ||
"dependencies": { | ||
"alexa-app": "^2.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters