chore: style&&lint

This commit is contained in:
手瓜一十雪
2024-08-22 14:12:24 +08:00
parent 71a2e52739
commit 50177cd6bd
14 changed files with 82 additions and 82 deletions

View File

@@ -26,14 +26,14 @@ export class SetInputStatus extends BaseAction<Payload, any> {
peer = {
chatType: ChatType.group,
peerUid: payload.group_id
}
};
} else if (payload.user_id) {
let uid = await NTQQUserApi.getUidByUinV2(payload.user_id);
const uid = await NTQQUserApi.getUidByUinV2(payload.user_id);
if (!uid) throw new Error('uid is empty');
peer = {
chatType: ChatType.friend,
peerUid: uid
}
};
} else {
throw new Error('请指定 group_id 或 user_id');
}