The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Kiran Ke2889ae74798
diff --git a/apps/web/app/api/webhooks/callback/route.ts b/apps/web/app/api/webhooks/callback/route.tsindex 24aaaeefc1..36a4373dfd 100644--- a/apps/web/app/api/webhooks/callback/route.ts+++ b/apps/web/app/api/webhooks/callback/route.ts@@ -19,8 +19,7 @@ const searchParamsSchema = z.object({// POST /api/webhooks/callback – listen to webhooks status from QStashexport const POST = async (req: Request) => {const rawBody = await req.text();-- await verifyQstashSignature({ req, body: rawBody, bodyType: "text" });+ await verifyQstashSignature({ req, rawBody });const { url, status, body, sourceBody, sourceMessageId } =webhookCallbackSchema.parse(JSON.parse(rawBody));