From 60633bf6c38343f914d1b75b3e0a1069794c180e Mon Sep 17 00:00:00 2001 From: fuomag9 <1580624+fuomag9@users.noreply.github.com> Date: Fri, 17 Apr 2026 10:28:48 +0200 Subject: [PATCH] Fix unused variable lint error in api-security test Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/e2e/api-security.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/api-security.spec.ts b/tests/e2e/api-security.spec.ts index 16d3a90f..79e3a63b 100644 --- a/tests/e2e/api-security.spec.ts +++ b/tests/e2e/api-security.spec.ts @@ -370,7 +370,7 @@ test.describe('Cross-user isolation', () => { test('user can GET their own profile', async ({ request }) => { // First find the user's own ID - const res = await request.get(`${ORIGIN}/api/auth/get-session`, { + await request.get(`${ORIGIN}/api/auth/get-session`, { headers: { 'Authorization': `Bearer ${userToken}` }, }); // Bearer tokens go through our api-auth, not Better Auth session — use a different approach