厳密比較じゃなくした

This commit is contained in:
ろむねこ 2024-07-16 14:37:53 +09:00
parent 3f4cd14671
commit d89808ab43
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -32,8 +32,8 @@ const HelloWorldIntentHandler = {
const KidShiftAuthIntentHandler = {
canHandle(handlerInput: Alexa.HandlerInput) {
return Alexa.getRequestType(handlerInput.requestEnvelope) === 'IntentRequest'
&& Alexa.getIntentName(handlerInput.requestEnvelope) === 'KidShiftAuthIntent';
return Alexa.getRequestType(handlerInput.requestEnvelope) == 'IntentRequest'
&& Alexa.getIntentName(handlerInput.requestEnvelope) == 'KidShiftAuthIntent';
},
handle(handlerInput: Alexa.HandlerInput) {
return handlerInput.responseBuilder