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.

Remove debug logging

Kiran K0c570f8074de
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 be86f0c713..c9dda46b66 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,8 +166,6 @@ 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({
diff --git a/apps/web/app/api/oauth/token/refresh-access-token.ts b/apps/web/app/api/oauth/token/refresh-access-token.ts
index 6a1125eb51..379b3fa973 100644
--- a/apps/web/app/api/oauth/token/refresh-access-token.ts
+++ b/apps/web/app/api/oauth/token/refresh-access-token.ts
@@ -77,8 +77,6 @@ export const refreshAccessToken = async (
}
}
- console.log(`${oAuthApp.integrationId} is refreshing the access token.`);
-
const refreshTokenRecord = await prisma.oAuthRefreshToken.findUnique({
where: {
hashedRefreshToken: await hashToken(refresh_token),