fix: ai solve
This commit is contained in:
1 parent
9b2c54aee6
commit
2b3d236373
1 file changed
+1
-1
@@ -26,7 +26,7 @@ export class GoCQHTTPDeleteFriend extends BaseAction<Payload, any> {
|
|||||||
message: '好友不存在',
|
message: '好友不存在',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
let isBuddy = this.core.apis.FriendApi.isBuddy(uid);
|
let isBuddy = await this.core.apis.FriendApi.isBuddy(uid);
|
||||||
if (!isBuddy) {
|
if (!isBuddy) {
|
||||||
return {
|
return {
|
||||||
valid: false,
|
valid: false,
|
||||||
|
|||||||
Reference in new issue
Block a user