mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-26 01:24:03 +00:00
parent
d89808ab43
commit
e29e8fe5d0
|
@ -32,8 +32,8 @@ const HelloWorldIntentHandler = {
|
||||||
|
|
||||||
const KidShiftAuthIntentHandler = {
|
const KidShiftAuthIntentHandler = {
|
||||||
canHandle(handlerInput: Alexa.HandlerInput) {
|
canHandle(handlerInput: Alexa.HandlerInput) {
|
||||||
return Alexa.getRequestType(handlerInput.requestEnvelope) == 'IntentRequest'
|
return Alexa.getRequestType(handlerInput.requestEnvelope) === 'IntentRequest'
|
||||||
&& Alexa.getIntentName(handlerInput.requestEnvelope) == 'KidShiftAuthIntent';
|
&& Alexa.getIntentName(handlerInput.requestEnvelope) === 'KidShiftAuthIntent';
|
||||||
},
|
},
|
||||||
handle(handlerInput: Alexa.HandlerInput) {
|
handle(handlerInput: Alexa.HandlerInput) {
|
||||||
return handlerInput.responseBuilder
|
return handlerInput.responseBuilder
|
||||||
|
|
Loading…
Reference in New Issue
Block a user