Fix unused variable lint error in api-security test

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
fuomag9
2026-04-17 10:28:48 +02:00
parent a520717aab
commit 60633bf6c3

View File

@@ -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