fix: method signature of _handle

This commit is contained in:
Wesley F. Young committed 2024-08-10 22:22:52 +08:00
1 parent ad7dc3b6b5
commit bde27518c8
69 files changed
+97 -78

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ export class FetchCustomFace extends BaseAction<Payload, string[]> {
actionName = ActionName.FetchCustomFace;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
async _handle(payload: Payload) {
//48 可能正好是QQ需要的一个页面的数量 Tagged Mlikiowa
const ret = await this.CoreContext.getApiContext().MsgApi.fetchFavEmojiList(payload.count || 48);
return ret.emojiInfoList.map(e => e.url);