mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-25 17:14:03 +00:00
test
This commit is contained in:
parent
c80e6dda85
commit
56299595a0
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user