diff --git a/server/routes/auth.ts b/server/routes/auth.ts index ab8690c..1667920 100644 --- a/server/routes/auth.ts +++ b/server/routes/auth.ts @@ -16,7 +16,7 @@ function refreshExpiresAt(): string { return d.toISOString() } -export function createAuthRouter(db: Database, jwtSecret: string): Hono { +export function createAuthRouter(db: Database, jwtSecret: string) { const app = new Hono<{ Variables: { userId: string; role: string } }>() app.post('/login', async (c) => {