fix: bug in approve of the deposit request

This commit is contained in:
mahyargdz
2025-02-24 17:16:17 +03:30
parent d563c254e2
commit 17e39fde09
5 changed files with 57 additions and 39 deletions
+4 -2
View File
@@ -12,7 +12,9 @@ export class UploaderService {
}
async uploadMultiple(files: IFile[]) {
const uploadPromises = files.map((file) => this.s3Service.upload(file));
return await Promise.all(uploadPromises);
// const uploadPromises = files.map((file) => this.s3Service.upload(file));
// return await Promise.all(uploadPromises);
return this.s3Service.uploadMultiple(files);
}
}