fix(files): list files command
This commit is contained in:
parent
f275b48770
commit
e6a21606a3
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@ export class S3FileDownloader implements FileDownloaderInterface {
|
|||
async listFiles(userUuid: string): Promise<{ name: string; size: number }[]> {
|
||||
const objectsList = await this.s3Client.send(
|
||||
new ListObjectsV2Command({
|
||||
Bucket: `${this.s3BuckeName}/${userUuid}/`,
|
||||
Bucket: this.s3BuckeName,
|
||||
Prefix: userUuid,
|
||||
}),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue