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 refresh-access-token.ts

Kiran Kc82b1d042cb5
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 0beea68e13..075ae6c937 100644
--- a/apps/web/app/api/oauth/token/refresh-access-token.ts
+++ b/apps/web/app/api/oauth/token/refresh-access-token.ts
@@ -66,7 +66,6 @@ export const refreshAccessToken = async (
});
}
-
if (!oAuthApp.pkce) {
if (!clientSecret) {
throw new DubApiError({
@@ -83,10 +82,7 @@ export const refreshAccessToken = async (
}
}
- console.log(`${oAuthApp.integration?.name} is refreshing the access token.`, {
-
- });
-
+ console.log(`${oAuthApp.integration?.name} is refreshing the access token.`);
const refreshTokenRecord = await prisma.oAuthRefreshToken.findUnique({
where: {