Permalink
Browse files

Fix incorrect appId (#18)

Changed alexa.APP_ID to alexa.appId

Signed-off-by: Justin <jusjef@amazon.com>
  • Loading branch information...
SleepyDeveloper committed Sep 8, 2017
1 parent 61d4127 commit 06bcb5182e001ce033aa7a92bcba5052f951956d
@@ -165,7 +165,7 @@ const handlers = {
exports.handler = function (event, context) {
const alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
// To enable string internationalization (i18n) features, set a resources object.
alexa.resources = languageStrings;
alexa.registerHandlers(handlers);
@@ -249,7 +249,7 @@ function removeSSML (s) {
exports.handler = (event, context) => {
const alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
// To enable string internationalization (i18n) features, set a resources object.
alexa.resources = languageStrings;
alexa.registerHandlers(handlers);
@@ -92,7 +92,7 @@ const handlers = {
exports.handler = (event, context) => {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
// To enable string internationalization (i18n) features, set a resources object.
//alexa.resources = languageStrings;
alexa.registerHandlers(handlers);
@@ -22,7 +22,7 @@ const data = "7 is the maximum number of times a letter-sized paper can be folde
//=========================================================================================================================================
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};
@@ -33,7 +33,7 @@ const data = [
//=========================================================================================================================================
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};
@@ -33,7 +33,7 @@ const data = [
//=========================================================================================================================================
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};
@@ -33,7 +33,7 @@ const data = [
//=========================================================================================================================================
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};
@@ -33,7 +33,7 @@ const data = [
//=========================================================================================================================================
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};
@@ -33,7 +33,7 @@ const data = [
//=========================================================================================================================================
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};
@@ -33,7 +33,7 @@ const data = [
//=========================================================================================================================================
exports.handler = function(event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.APP_ID = APP_ID;
alexa.appId = APP_ID;
alexa.registerHandlers(handlers);
alexa.execute();
};

0 comments on commit 06bcb51

Please sign in to comment.