From 347d607c8ac77a94d44da64d22a2d1aa47beeb83 Mon Sep 17 00:00:00 2001 From: Andrew Hahn Date: Wed, 14 Aug 2024 10:33:49 -0700 Subject: [PATCH] test: fixed renaming --- .../service/storage_s3_service_impl.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/storage/amplify_storage_s3_dart/lib/src/storage_s3_service/service/storage_s3_service_impl.dart b/packages/storage/amplify_storage_s3_dart/lib/src/storage_s3_service/service/storage_s3_service_impl.dart index f460c6f001..cd1ec91ac8 100644 --- a/packages/storage/amplify_storage_s3_dart/lib/src/storage_s3_service/service/storage_s3_service_impl.dart +++ b/packages/storage/amplify_storage_s3_dart/lib/src/storage_s3_service/service/storage_s3_service_impl.dart @@ -140,8 +140,9 @@ class StorageS3Service { ..prefix = resolvedPath ..maxKeys = options.pageSize ..continuationToken = options.nextToken - ..delimiter = - s3Category.excludeSubPaths ? s3Category.delimiter : null; + ..delimiter = subpathStrategy.excludeSubpaths + ? subpathStrategy.delimiter + : null; }); try { @@ -164,8 +165,9 @@ class StorageS3Service { builder ..bucket = _storageOutputs.bucketName ..prefix = resolvedPath - ..delimiter = - s3Category.excludeSubPaths ? s3Category.delimiter : null; + ..delimiter = subpathStrategy.excludeSubpaths + ? subpathStrategy.delimiter + : null; }); listResult = await _defaultS3Client.listObjectsV2(request).result;