Skip to content

Commit f83015d

Browse files
committed
refactor: Update webhooks route to return empty message in JSON response
1 parent 6b516d1 commit f83015d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/webhooks/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ export async function POST(req: Request) {
9191

9292
return NextResponse.json({ message: "OK", user: deletedUser });
9393
}
94-
return new Response("", { status: 201 });
94+
return NextResponse.json({ message: "" });
9595
}

0 commit comments

Comments
 (0)