mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-26 01:24:03 +00:00
test
This commit is contained in:
parent
30b9bb2bdd
commit
cd6042e938
|
@ -44,8 +44,9 @@ 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';
|
||||||
|
return Alexa.getIntentName(handlerInput.requestEnvelope) === 'KidShiftAuthIntent';
|
||||||
},
|
},
|
||||||
handle(handlerInput: Alexa.HandlerInput) {
|
handle(handlerInput: Alexa.HandlerInput) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user