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 exchange-code-for-token.ts

Kiran K5ad3f2a37491
diff --git a/apps/web/app/api/oauth/token/exchange-code-for-token.ts b/apps/web/app/api/oauth/token/exchange-code-for-token.ts
index c9dda46b66..be86f0c713 100644
--- a/apps/web/app/api/oauth/token/exchange-code-for-token.ts
+++ b/apps/web/app/api/oauth/token/exchange-code-for-token.ts
@@ -166,6 +166,8 @@ export const exchangeAuthCodeForToken = async (
const { userId, projectId, scopes } = accessCode;
+ console.log(`${app.integrationId} is exchanging the code for a token.`);
+
// Install the app
// We only support one token per client per user per workspace at a time
const installation = await installIntegration({