mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-25 17:14:03 +00:00
parent
d89808ab43
commit
e29e8fe5d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user