style: 标准化样式

This commit is contained in:
手瓜一十雪 committed 2024-08-25 21:37:36 +08:00
1 parent 72d256e61a
commit 29f79fcc6c
7 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ class GetMsg extends BaseAction<Payload, OB11Message> {
const MsgShortId = MessageUnique.getShortIdByMsgId(payload.message_id.toString());
const msgIdWithPeer = MessageUnique.getMsgIdAndPeerByShortId(MsgShortId || parseInt(payload.message_id.toString()));
if (!msgIdWithPeer) {
throw ('消息不存在');
throw new Error('消息不存在');
}
const peer = { guildId: '', peerUid: msgIdWithPeer?.Peer.peerUid, chatType: msgIdWithPeer.Peer.chatType };
const msg = await NTQQMsgApi.getMsgsByMsgId(