fix: method signature of _handle
This commit is contained in:
1 parent
ad7dc3b6b5
commit
bde27518c8
69 files changed
+97
-78
No files matched your search
@@ -4,7 +4,7 @@ import { ActionName } from '../types';
|
||||
export class GetProfileLike extends BaseAction<void, any> {
|
||||
actionName = ActionName.GetProfileLike;
|
||||
|
||||
protected async _handle(payload: void) {
|
||||
async _handle(payload: void) {
|
||||
const NTQQUserApi = this.CoreContext.getApiContext().UserApi;
|
||||
const ret = await NTQQUserApi.getProfileLike(this.CoreContext.selfInfo.uid);
|
||||
const listdata: any[] = ret.info.userLikeInfos[0].favoriteInfo.userInfos;
|
||||
|
||||
Reference in new issue
Block a user