Skip to content

Commit

Permalink
fix(api) rename name
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed Jan 30, 2025
1 parent 0542a30 commit 5d42574
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 63 deletions.
2 changes: 1 addition & 1 deletion apps/api/src/app/events/e2e/cancel-event.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Cancel event - /v1/events/trigger/:transactionId (DELETE) #novu-v2', f
return (
await novuClient.trigger({
transactionId,
name: template.triggers[0].identifier,
workflowId: template.triggers[0].identifier,
to,
payload,
overrides,
Expand Down
4 changes: 2 additions & 2 deletions apps/api/src/app/events/e2e/trigger-event-topic.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ const buildTriggerRequestPayload = (
attachments?: Record<string, unknown>[]
): TriggerEventRequestDto => {
return {
name: template.triggers[0].identifier,
workflowId: template.triggers[0].identifier,
to,
payload: {
firstName: 'Testing of User Name',
Expand All @@ -547,7 +547,7 @@ const triggerEvent = async (
payload: Record<string, unknown> = {}
): Promise<void> => {
await initNovuClassSdk(session).trigger({
name: template.triggers[0].identifier,
workflowId: template.triggers[0].identifier,
to,
payload,
});
Expand Down
Loading

0 comments on commit 5d42574

Please sign in to comment.