From 0460d84420f527a7de406e574c5e22223977152f Mon Sep 17 00:00:00 2001 From: Jordan Nelson Date: Mon, 18 Mar 2024 13:49:30 -0400 Subject: [PATCH] chore: add leading `/` --- .../issues/get_url_special_characters_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/storage/amplify_storage_s3/example/integration_test/issues/get_url_special_characters_test.dart b/packages/storage/amplify_storage_s3/example/integration_test/issues/get_url_special_characters_test.dart index a52e3ad964..430b0bc3b1 100644 --- a/packages/storage/amplify_storage_s3/example/integration_test/issues/get_url_special_characters_test.dart +++ b/packages/storage/amplify_storage_s3/example/integration_test/issues/get_url_special_characters_test.dart @@ -41,7 +41,7 @@ void main() { final key = 'Test - ${DateTime.now()}'; await Amplify.Storage.uploadData( data: S3DataPayload.bytes('hello'.codeUnits), - path: StoragePath.fromString('public/$key'), + path: StoragePath.fromString('/public/$key'), ).result; final getUrlResult = await Amplify.Storage.getUrl(