diff --git a/packages/cloud-sdk/src/storage.ts b/packages/cloud-sdk/src/storage.ts index 67a3483424..3c2e3374d6 100644 --- a/packages/cloud-sdk/src/storage.ts +++ b/packages/cloud-sdk/src/storage.ts @@ -267,15 +267,11 @@ export class CloudStorageBucket { * @returns * @see https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html */ - public async listFiles( - prefix?: string, - options?: Omit - ) { + public async listFiles(options?: Omit) { const internal = this.storage.getInternalS3Client() const args: ListObjectsCommandInput = { Bucket: this.name, - Prefix: prefix, ...options, } const res = await internal.listObjects(args)