chore: format
This commit is contained in:
parent
a7702d8599
commit
ef1f404779
1 changed files with 1 additions and 3 deletions
|
|
@ -456,9 +456,7 @@ export class CustomerBranchController extends Controller {
|
||||||
stream.on("error", () => reject(new Error("MinIO error.")));
|
stream.on("error", () => reject(new Error("MinIO error.")));
|
||||||
}).then((list) => {
|
}).then((list) => {
|
||||||
list.map(async (v) => {
|
list.map(async (v) => {
|
||||||
await minio.removeObject(MINIO_BUCKET, v, {
|
await minio.removeObject(MINIO_BUCKET, v, { forceDelete: true });
|
||||||
forceDelete: true,
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
return v;
|
return v;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue