Skip to content

Commit

Permalink
patch: fix notififaction
Browse files Browse the repository at this point in the history
  • Loading branch information
potts99 committed Nov 16, 2024
1 parent 3ea8f03 commit 3b3c79f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/api/src/controllers/ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ export function ticketRoutes(fastify: FastifyInstance) {

await sendAssignedEmail(assgined!.email);

await assignedNotification(engineer.id, ticket);
const user = await checkSession(request);

await assignedNotification(engineer, ticket, user);
}

const webhook = await prisma.webhooks.findMany({
Expand Down

0 comments on commit 3b3c79f

Please sign in to comment.