This commit is contained in:
ろむねこ 2024-07-16 14:56:09 +09:00
parent c80e6dda85
commit 56299595a0
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -35,7 +35,7 @@ const KidShiftAuthIntentHandler = {
return Alexa.getRequestType(handlerInput.requestEnvelope) === 'IntentRequest'
&& Alexa.getIntentName(handlerInput.requestEnvelope) === 'KidShiftAuthIntent';
},
handle(handlerInput: Alexa.HandlerInput) {
async handle(handlerInput: Alexa.HandlerInput) {
if (Alexa.getSlot(handlerInput.requestEnvelope, 'loginCode').value === undefined) {
return handlerInput.responseBuilder
.speak('Please provide a valid login code')