- upgrade react-resizable-panels to latest version

- update translations
- remove cypress
- add await to all return blocks
This commit is contained in:
Amruth Pillai
2023-11-19 09:52:55 +01:00
parent 9c4db2956b
commit 8b217dfcfa
95 changed files with 4162 additions and 4213 deletions

View File

@ -136,7 +136,7 @@ export class StorageService implements OnModuleInit {
const path = `${userId}/${type}/${filename}.${extension}`;
try {
return Promise.all([
return await Promise.all([
this.redis.del(`user:${userId}:storage:${type}:${filename}`),
this.client.removeObject(this.bucketName, path),
]);
@ -157,7 +157,7 @@ export class StorageService implements OnModuleInit {
}
try {
return this.client.removeObjects(this.bucketName, objectsList);
return await this.client.removeObjects(this.bucketName, objectsList);
} catch (error) {
throw new InternalServerErrorException(
`There was an error while deleting the folder at the specified path: ${this.bucketName}/${prefix}.`,