Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/api/webhooks/[id]/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { withAuth } from '@/lib/api/middleware/auth.js';
/** Delete a webhook by ID */
export const DELETE = withAuth(async (event) => {
const { supabase, user } = event.locals;
const { id } = params;
const { id } = (await event.context?.params) || {};

const { error } = await supabase
.from('webhooks')
Expand Down
Loading