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.

small fix

Kiran K541b7f960052
diff --git a/apps/web/lib/webhook/create-webhook.ts b/apps/web/lib/webhook/create-webhook.ts
index ba14da6ce9..fd7e6d175b 100644
--- a/apps/web/lib/webhook/create-webhook.ts
+++ b/apps/web/lib/webhook/create-webhook.ts
@@ -58,6 +58,7 @@ export async function createWebhook({
await prisma.project.update({
where: {
id: workspaceId,
+ webhookEnabled: false,
},
data: {
webhookEnabled: true,
diff --git a/apps/web/scripts/update-webhook-cache.ts b/apps/web/scripts/update-webhook-cache.ts
index 29ae929ed6..7a408a6fa2 100644
--- a/apps/web/scripts/update-webhook-cache.ts
+++ b/apps/web/scripts/update-webhook-cache.ts
@@ -17,6 +17,7 @@ async function main() {
triggers: true,
disabledAt: true,
},
+ take: 100,
});
const result = await Promise.all(