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.

update message

Steven Tey5353b074d755
diff --git a/apps/web/app/api/callback/stripe/route.ts b/apps/web/app/api/callback/stripe/route.ts
index d3ddd1ba13..c14ebb2383 100644
--- a/apps/web/app/api/callback/stripe/route.ts
+++ b/apps/web/app/api/callback/stripe/route.ts
@@ -124,9 +124,10 @@ export const POST = async (req: Request) => {
if (!project) {
await log({
message:
- "Project not found in Stripe webhook `customer.subscription.updated` callback",
+ "Project with Stripe ID `" +
+ stripeId +
+ "` not found in Stripe webhook `customer.subscription.updated` callback",
type: "cron",
- mention: true,
});
return;
}
@@ -200,9 +201,10 @@ export const POST = async (req: Request) => {
if (!project) {
await log({
message:
- "Project not found in Stripe webhook `customer.subscription.deleted` callback",
+ "Project with Stripe ID `" +
+ stripeId +
+ "` not found in Stripe webhook `customer.subscription.deleted` callback",
type: "cron",
- mention: true,
});
return;
}