Skip to content

Commit

Permalink
Merge branch 'next' into nv-5432-fix-typeerror-related-to-subscriberi…
Browse files Browse the repository at this point in the history
…dtrim-function
  • Loading branch information
BiswaViraj authored Feb 21, 2025
2 parents e07bbd1 + 39638ef commit f263e14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/dashboard/src/api/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export async function triggerWorkflow({
body: {
name,
to,
payload: { ...(payload ?? {}), __source: 'dashboard' },
// eslint-disable-next-line @typescript-eslint/no-explicit-any
payload: { ...(payload ?? {}), __source: (payload as any)?.__source ?? 'dashboard' },
},
});
}
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/src/components/auth/inbox-playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export function InboxPlayground() {
body: formValues.body,
primaryActionLabel: formValues.primaryAction?.label || '',
secondaryActionLabel: formValues.secondaryAction?.label || '',
__source: 'inbox-onboarding',
},
});

Expand Down

0 comments on commit f263e14

Please sign in to comment.