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 change

Steven Tey0ffedf8631cf
diff --git a/apps/web/app/api/(campaign)/stripe-app/callback/route.ts b/apps/web/app/api/(campaign)/stripe-app/callback/route.ts
index 2196c289be..4af535f2fa 100644
--- a/apps/web/app/api/(campaign)/stripe-app/callback/route.ts
+++ b/apps/web/app/api/(campaign)/stripe-app/callback/route.ts
@@ -9,12 +9,11 @@ const schema = z.object({
});
export const GET = async (req: Request) => {
- const searchParams = schema.parse(getSearchParams(req.url));
const {
user_id: userId,
account_id: accountId,
stripe_user_id: stripeUserId,
- } = searchParams;
+ } = schema.parse(getSearchParams(req.url));
// Store this against the user in the database
console.log({ userId, accountId, stripeUserId });