From 2f57828482f56031e052f2e88af1da2f87842380 Mon Sep 17 00:00:00 2001 From: Adarsh More <103880462+AdarshVMore@users.noreply.github.com> Date: Mon, 13 Apr 2026 13:31:47 +0530 Subject: [PATCH] Rename variable 'token' to 'tokens' in auth.ts --- Server/app/api-service/auth/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/app/api-service/auth/auth.ts b/Server/app/api-service/auth/auth.ts index bc63b48..55e1730 100644 --- a/Server/app/api-service/auth/auth.ts +++ b/Server/app/api-service/auth/auth.ts @@ -8,7 +8,7 @@ export async function requireAuth(req: Request, res: Response, next: NextFunctio return } - const token = authHeader.split(" ")[1] + const tokens = authHeader.split(" ")[1] try { const { data } = await axios.get("https://api.github.com/user", {