From c4ee6886b1c7c4b0d4b9b9698a8279f9c1a407e0 Mon Sep 17 00:00:00 2001 From: Superuser Date: Mon, 18 May 2026 20:52:35 +0800 Subject: [PATCH] fix: SessionPayload extends jose.JWTPayload to fix type error --- api/lib/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/lib/session.ts b/api/lib/session.ts index 4dc544a..8f1e92f 100644 --- a/api/lib/session.ts +++ b/api/lib/session.ts @@ -3,7 +3,7 @@ import { env } from "./env"; const JWT_ALG = "HS256"; -export interface SessionPayload { +export interface SessionPayload extends jose.JWTPayload { userId: number; }