diff --git a/lambda/index.js b/lambda/index.js index 81a9b66..3c5ed21 100644 --- a/lambda/index.js +++ b/lambda/index.js @@ -56,14 +56,17 @@ const KidShiftAuthIntentHandler = { && Alexa.getIntentName(handlerInput.requestEnvelope) === 'KidShiftAuthIntent'; }, handle(handlerInput) { - if (Alexa.getSlot(handlerInput.requestEnvelope, 'loginCode').value === undefined) { - return handlerInput.responseBuilder - .speak('Please provide a valid login code') - .reprompt('Please provide a valid login code') - .getResponse(); - } + // if (Alexa.getSlot(handlerInput.requestEnvelope, 'loginCode').value === undefined) { + // return handlerInput.responseBuilder + // .speak('Please provide a valid login code') + // .reprompt('Please provide a valid login code') + // .getResponse(); + // } + // return handlerInput.responseBuilder + // .speak('your auth code is ' + Alexa.getSlotValue(handlerInput.requestEnvelope, 'loginCode')) + // .getResponse(); return handlerInput.responseBuilder - .speak('your auth code is ' + Alexa.getSlotValue(handlerInput.requestEnvelope, 'loginCode')) + .speak('hoge') .getResponse(); } };