From 99b061a143105d5de3fc3f73699cc6132e3efe2c Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 23 Nov 2025 23:25:29 +0800 Subject: [PATCH] fix: make session properties required in Session interface --- dashboard/src/composables/useSessions.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dashboard/src/composables/useSessions.ts b/dashboard/src/composables/useSessions.ts index b63caa42..c6000c78 100644 --- a/dashboard/src/composables/useSessions.ts +++ b/dashboard/src/composables/useSessions.ts @@ -4,12 +4,12 @@ import { useRouter } from 'vue-router'; export interface Session { session_id: string; - display_name?: string | null; - updated_at?: string; - platform_id?: string; - creator?: string; - is_group?: number; - created_at?: string; + display_name: string | null; + updated_at: string; + platform_id: string; + creator: string; + is_group: number; + created_at: string; } export function useSessions(chatboxMode: boolean = false) {