fix: method signature of _handle

This commit is contained in:
Wesley F. Young committed 2024-08-10 22:22:52 +08:00
1 parent 8839563ff8
commit ae5d50141b
69 files changed
+97 -78

No files matched your search

@@ -37,7 +37,7 @@ export default class GoCQHTTPUploadPrivateFile extends BaseAction<Payload, null>
throw '缺少参数 user_id';
}
protected async _handle(payload: Payload): Promise<null> {
async _handle(payload: Payload): Promise<null> {
const peer = await this.getPeer(payload);
let file = payload.file;
if (fs.existsSync(file)) {