Skip to content

Commit

Permalink
🔧 Make AlexaHandles.onTask global
Browse files Browse the repository at this point in the history
  • Loading branch information
sadlowskij committed Dec 20, 2023
1 parent 487026b commit c0bdc2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platforms/platform-alexa/src/AlexaHandles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export class AlexaHandles {
static onTask(taskName: string, taskVersion?: number | string): HandleOptions {
return {
types: [InputType.Launch],
global: true,
if: (jovo: Jovo) => {
const task = jovo.$alexa?.task.getTask();
if (!task) return false;
Expand Down

0 comments on commit c0bdc2b

Please sign in to comment.