Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Hide Upstash headers from Webhook request

Kiran K62422a1397c2
diff --git a/apps/web/lib/webhook/qstash.ts b/apps/web/lib/webhook/qstash.ts
index 6fa18782c8..a354b41b1e 100644
--- a/apps/web/lib/webhook/qstash.ts
+++ b/apps/web/lib/webhook/qstash.ts
@@ -47,6 +47,7 @@ export const publishWebhookEventToQStash = async ({
body: payload,
headers: {
"Dub-Signature": signature,
+ "Upstash-Hide-Headers": "true",
},
callback: callbackUrl,
failureCallback: callbackUrl,