The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update refresh-access-token.ts
Kiran Kf3ad70ddfdcf
diff --git a/apps/web/app/api/oauth/token/refresh-access-token.ts b/apps/web/app/api/oauth/token/refresh-access-token.tsindex 075ae6c937..6a1125eb51 100644--- a/apps/web/app/api/oauth/token/refresh-access-token.ts+++ b/apps/web/app/api/oauth/token/refresh-access-token.ts@@ -51,11 +51,6 @@ export const refreshAccessToken = async (pkce: true,integrationId: true,hashedClientSecret: true,- integration: {- select: {- name: true,- },- },},});@@ -82,7 +77,7 @@ export const refreshAccessToken = async (}}- console.log(`${oAuthApp.integration?.name} is refreshing the access token.`);+ console.log(`${oAuthApp.integrationId} is refreshing the access token.`);const refreshTokenRecord = await prisma.oAuthRefreshToken.findUnique({where: {