fix: Delete all workflow reminders when workflow is deleted (#24615)

This commit is contained in:
Anik Dhabal Babu
2025-10-24 02:54:08 +00:00
committed by GitHub
parent fc4d0a6aa3
commit 7318015a6e
2 changed files with 0 additions and 10 deletions
@@ -237,8 +237,6 @@ describe("deleteHandler", () => {
{
id: 1,
workflowStepId: 1,
scheduled: true,
referenceId: "ref-1",
},
];
const mockWorkflow = {
@@ -263,10 +261,6 @@ describe("deleteHandler", () => {
workflowStep: {
workflowId: workflowId,
},
scheduled: true,
NOT: {
referenceId: null,
},
},
});
@@ -143,10 +143,6 @@ export const deleteHandler = async ({ ctx, input }: DeleteOptions) => {
workflowStep: {
workflowId: id,
},
scheduled: true,
NOT: {
referenceId: null,
},
},
});