The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update with-cron.ts
Kiran Kdb0cc16456c7
diff --git a/apps/web/lib/cron/with-cron.ts b/apps/web/lib/cron/with-cron.tsindex e17873ca57..f30970e14c 100644--- a/apps/web/lib/cron/with-cron.ts+++ b/apps/web/lib/cron/with-cron.ts@@ -42,7 +42,7 @@ export const withCron = (handler: WithCronHandler) => {}// POST requests are typically from QStashelse if (req.method === "POST") {- rawBody = await req.text();+ rawBody = await clonedReq.text();await verifyQstashSignature({ req, rawBody });} else {throw new Error(`Unsupported HTTP method: ${req.method}`);