style: lint

This commit is contained in:
手瓜一十雪 2024-05-02 18:16:03 +08:00
parent 39b8eb6ff1
commit fdef821c60
2 changed files with 15 additions and 15 deletions

View File

@ -15,7 +15,7 @@ export class GetGroupEssence extends BaseAction<PayloadType, GroupEssenceMsgRet>
actionName = ActionName.GoCQHTTP_GetEssenceMsg;
protected async _handle(payload: PayloadType) {
let ret = await WebApi.getGroupEssenceMsg(payload.group_id.toString(), payload.pages.toString());
const ret = await WebApi.getGroupEssenceMsg(payload.group_id.toString(), payload.pages.toString());
if (!ret) {
throw new Error('获取失败');
}

View File

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