diff --git a/apps/infoalloggi/src/server/auth/jwt.ts b/apps/infoalloggi/src/server/auth/jwt.ts index 52425e5..099467c 100644 --- a/apps/infoalloggi/src/server/auth/jwt.ts +++ b/apps/infoalloggi/src/server/auth/jwt.ts @@ -7,7 +7,7 @@ const secret = new TextEncoder().encode(env.JWT_SECRET); export async function signToken( payload: Session, - expiresIn = "1h", + expiresIn: string, type: "accessToken" | "refreshToken", ) { try {