feat: update type define in packet

This commit is contained in:
pk5ls20 committed 2024-10-14 17:05:04 +08:00
1 parent f2c719c60d
commit 1fbc339a42
6 files changed
+28 -26

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export class GetUserStatus extends BaseAction<Payload, { status: number; ext_sta
async _handle(payload: Payload) {
if (!this.core.apis.PacketApi.packetClient?.available) {
throw new Error('packetClient is not init');
throw new Error('PacketClient is not init');
}
return await this.core.apis.PacketApi.sendStatusPacket(+payload.user_id);
}