修复批量删除object参数错误

This commit is contained in:
2025-06-17 17:01:53 +08:00
parent 6d09087289
commit 041e27c87d

View File

@@ -88,7 +88,7 @@ export class OssStore {
let failedCount = 0;
for (const objectItem of objects) {
await this.deleteObject(objectItem.name).catch(e => failedCount++);
await this.deleteObject(objectItem.id).catch(e => failedCount++);
}
return { all: objects.length, failed: failedCount };