style: lint

This commit is contained in:
手瓜一十雪 committed 2024-05-02 18:16:03 +08:00
1 parent f108d97509
commit ea0fd09900
2 files changed
+15 -15

No files matched your search

+8 -8
View File
@@ -7,14 +7,14 @@ interface PayloadType {
}
export class GetGroupNotice extends BaseAction<PayloadType, WebApiGroupNoticeRet> {
actionName = ActionName.GoCQHTTP_GetGroupNotice;
actionName = ActionName.GoCQHTTP_GetGroupNotice;
protected async _handle(payload: PayloadType) {
const group = payload.group_id.toString();
let ret = await WebApi.getGrouptNotice(group);
if (!ret) {
throw new Error('获取公告失败');
}
return ret;
protected async _handle(payload: PayloadType) {
const group = payload.group_id.toString();
const ret = await WebApi.getGrouptNotice(group);
if (!ret) {
throw new Error('获取公告失败');
}
return ret;
}
}