Skip to content

Commit

Permalink
➕ 🆔 Set applicationId
Browse files Browse the repository at this point in the history
  • Loading branch information
ishotjr committed Dec 18, 2016
1 parent 3c1e17b commit 4ac9f09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Expand Up @@ -275,9 +275,9 @@ exports.handler = function (event, context) {
* prevent someone else from configuring a skill that sends requests to this function.
*/

// if (event.session.application.applicationId !== "amzn1.echo-sdk-ams.app.05aecccb3-1461-48fb-a008-822ddrt6b516") {
// context.fail("Invalid Application ID");
// }
if (event.session.application.applicationId !== "amzn1.echo-sdk-ams.app.05aecccb3-1461-48fb-a008-822ddrt6b516") {
context.fail("Invalid Application ID");
}

if (event.session.new) {
onSessionStarted({requestId: event.request.requestId}, event.session);
Expand Down

0 comments on commit 4ac9f09

Please sign in to comment.