Skip to content

Commit

Permalink
EventTrigger source wasn’t getting passed through to the class
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-aitken committed Jan 16, 2024
1 parent 795e637 commit 129f023
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-windows-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@trigger.dev/sdk": patch
---

Fix for eventTrigger source not getting passed through
1 change: 1 addition & 0 deletions packages/trigger-sdk/src/triggers/eventTrigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export function eventTrigger<TEvent extends any = any>(
return new EventTrigger({
name: options.name,
filter: options.filter,
source: options.source,
event: {
name: options.name,
title: "Event",
Expand Down

0 comments on commit 129f023

Please sign in to comment.