From 8cba0bb39f6fc7cfec71a7bb1071db389db653ba Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Fri, 5 Dec 2025 18:21:39 -0800 Subject: [PATCH] chore: lint --- packages/better-auth/src/plugins/oauth-proxy/index.ts | 2 +- packages/better-auth/src/plugins/oauth-proxy/utils.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/better-auth/src/plugins/oauth-proxy/index.ts b/packages/better-auth/src/plugins/oauth-proxy/index.ts index a69111430d..b28d1a074c 100644 --- a/packages/better-auth/src/plugins/oauth-proxy/index.ts +++ b/packages/better-auth/src/plugins/oauth-proxy/index.ts @@ -156,7 +156,7 @@ export const oAuthProxy = (opts?: OAuthProxyOptions | undefined) => { `${errorURL}?error=OAuthProxy - Invalid payload structure`, ); } - + const now = Date.now(); const age = (now - payload.timestamp) / 1000; diff --git a/packages/better-auth/src/plugins/oauth-proxy/utils.ts b/packages/better-auth/src/plugins/oauth-proxy/utils.ts index 5850967e61..d45b3ef45c 100644 --- a/packages/better-auth/src/plugins/oauth-proxy/utils.ts +++ b/packages/better-auth/src/plugins/oauth-proxy/utils.ts @@ -50,7 +50,6 @@ export function checkSkipProxy( return false; } - const currentURL = ctx.request?.url || getVendorBaseURL(); if (!currentURL) { return false;