mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 01:32:02 +10:00
- upgrade react-resizable-panels to latest version
- update translations - remove cypress - add await to all return blocks
This commit is contained in:
@ -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}.`,
|
||||
|
||||
Reference in New Issue
Block a user