chore: make lint happy

This commit is contained in:
CrescentLeaf
2025-10-08 00:55:09 +08:00
parent 7c7e641d1f
commit 11362a5689
6 changed files with 15 additions and 7 deletions

View File

@@ -295,7 +295,7 @@ export default class UserApi extends BaseApi {
const chat = Chat.findById(id)
return {
id,
type: chat.bean.type,
type: chat?.bean.type,
title: chat?.getTitle(user) || "未知",
avatar: chat?.getAvatarFileHash(user) ? "uploaded_files/" + chat?.getAvatarFileHash(user) : undefined
}