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.

format

Kiran Kcb3c5dd599f3
diff --git a/apps/web/app/api/cron/payouts/charge-succeeded/create-paypal-token.ts b/apps/web/app/api/cron/payouts/charge-succeeded/create-paypal-token.ts
index 55e38228a9..d3d03df38d 100644
--- a/apps/web/app/api/cron/payouts/charge-succeeded/create-paypal-token.ts
+++ b/apps/web/app/api/cron/payouts/charge-succeeded/create-paypal-token.ts
@@ -57,4 +57,4 @@ export async function createPaypalToken() {
);
return token.access_token;
-}
\ No newline at end of file
+}
diff --git a/apps/web/app/api/paypal/callback/route.ts b/apps/web/app/api/paypal/callback/route.ts
index 325a2126d8..011f08973e 100644
--- a/apps/web/app/api/paypal/callback/route.ts
+++ b/apps/web/app/api/paypal/callback/route.ts
@@ -88,7 +88,6 @@ export const GET = async (req: Request) => {
// TODO:
// Send an email to the partner to inform them that their PayPal account has been connected
-
} catch (e: any) {
return handleAndReturnErrorResponse(e);
}