We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b841c28 commit faf50cbCopy full SHA for faf50cb
1 file changed
app/api/webhooks/callback/route.ts
@@ -32,7 +32,7 @@ export const POST = async (req: Request) => {
32
);
33
34
const webhook = await prisma.webhook.findUnique({
35
- where: { id: webhookId },
+ where: { pId: webhookId },
36
});
37
38
if (!webhook) {
0 commit comments