Revert "厳密比較じゃなくした"

This reverts commit d89808ab43.
This commit is contained in:
ろむねこ 2024-07-16 14:38:09 +09:00
parent d89808ab43
commit e29e8fe5d0
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