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.

includeTags

Steven Teyc67c4e1e5cea
diff --git a/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.ts b/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.ts
index 114a6469e4..ab8e52c20a 100644
--- a/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.ts
+++ b/apps/web/app/(ee)/api/stripe/integration/webhook/checkout-session-completed.ts
@@ -664,7 +664,7 @@ async function attributeViaPromoCode({
}
async function incrementLinkLeads(linkId: string) {
- return await prisma.link.update({
+ return prisma.link.update({
where: {
id: linkId,
},
@@ -674,5 +674,6 @@ async function incrementLinkLeads(linkId: string) {
},
lastLeadAt: new Date(),
},
+ include: includeTags,
});
}