fix: remark

This commit is contained in:
手瓜一十雪 2024-10-20 18:30:14 +08:00
parent 051729886e
commit 95d1a77f52
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export class NTQQFriendApi {
this.core = core;
}
async setBuddyRemark(uid: string, remark: string) {
return this.context.session.getBuddyService().setBuddyRemark(uid, remark);
return this.context.session.getBuddyService().setBuddyRemark({ uid, remark });
}
async getBuddyV2SimpleInfoMap(refresh = false) {
const buddyService = this.context.session.getBuddyService();

View File

@ -36,7 +36,7 @@ export interface NodeIKernelBuddyService {
getBuddyRemark(uid: number): string;
setBuddyRemark(uid: string, remark: string): void;
setBuddyRemark(param: { uid: string, remark: string, signInfo?: unknown }): void;
getAvatarUrl(uid: number): string;