Fix 19 ESLint unused-variable errors across source and test files

Remove unused imports, functions, and variables flagged by
@typescript-eslint/no-unused-vars and no-useless-assignment rules.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
fuomag9
2026-04-06 00:32:54 +02:00
parent 0542ed56cb
commit 155268a180
8 changed files with 13 additions and 26 deletions
-5
View File
@@ -6,7 +6,6 @@ import {
forwardAuthExchanges,
forwardAuthAccess,
groups,
groupMembers,
users,
proxyHosts
} from '@/src/lib/db/schema';
@@ -26,10 +25,6 @@ function futureIso(seconds: number) {
return new Date(Date.now() + seconds * 1000).toISOString();
}
function pastIso(seconds: number) {
return new Date(Date.now() - seconds * 1000).toISOString();
}
function hashToken(raw: string): string {
return createHash('sha256').update(raw).digest('hex');
}