From 3c5bd187b771f256f2d2cde318212d30b94eef61 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 8 Nov 2025 23:49:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E7=BC=AE=E9=9D=9E=20throw=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client-protocol/UserMySelf.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-protocol/UserMySelf.ts b/client-protocol/UserMySelf.ts index 4c3b4e7..082a2ca 100644 --- a/client-protocol/UserMySelf.ts +++ b/client-protocol/UserMySelf.ts @@ -146,7 +146,7 @@ export default class UserMySelf extends User { try { return await this.getMyFavouriteChatBeansOrThrow() } catch (_) { - return null + return [] } } async getMyFavouriteChatBeansOrThrow() { @@ -166,7 +166,7 @@ export default class UserMySelf extends User { try { return await this.getMyRecentChatBeansOrThrow() } catch (_) { - return null + return [] } } async getMyRecentChatBeansOrThrow() {