Files
car-crushers-portal/functions/api/events-team/strikes/[id].ts
Regalijan cfc57c838e
All checks were successful
Test, Build, Deploy / Test, Build, and Deploy (push) Successful in 55s
Test, Build, Deploy / Create Sentry Release (push) Successful in 6s
More events team nonsense
2026-04-11 03:30:46 -04:00

12 lines
232 B
TypeScript

export async function onRequestDelete(context: RequestContext) {
await context.data.prisma.etStrike.delete({
where: {
id: context.params.id as string,
},
});
return new Response(null, {
status: 204,
});
}