fix: setGroupAvatar
This commit is contained in:
1 parent
60796c26ca
commit
cd1bae9a1f
1 file changed
+1
-2
@@ -47,8 +47,7 @@ export class NTQQUserApi {
|
|||||||
return { result: ret?.result, errMsg: ret?.errMsg };
|
return { result: ret?.result, errMsg: ret?.errMsg };
|
||||||
}
|
}
|
||||||
static async setGroupAvatar(gc: string, filePath: string) {
|
static async setGroupAvatar(gc: string, filePath: string) {
|
||||||
const ret = await napCatCore.session.getGroupService().setHeader(gc,filePath);
|
return napCatCore.session.getGroupService().setHeader(gc, filePath);
|
||||||
return { result: ret?.result, errMsg: ret?.errMsg };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static async getSelfInfo() {
|
static async getSelfInfo() {
|
||||||
|
|||||||
Reference in new issue
Block a user