This commit is contained in:
手瓜一十雪
2024-08-25 23:57:16 +08:00
parent b88b8c5081
commit 6f89a47ba2
4 changed files with 11 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ export default class GoCQHTTPUploadPrivateFile extends BaseAction<Payload, null>
const isBuddy = await NTQQFriendApi.isBuddy(peerUid);
return { chatType: isBuddy ? ChatType.KCHATTYPEC2C : ChatType.KCHATTYPETEMPC2CFROMGROUP, peerUid };
}
throw '缺少参数 user_id';
throw new Error( '缺少参数 user_id');
}
async _handle(payload: Payload): Promise<null> {