From dd59a829080c9b1d3199864fc462dce128c27c6c Mon Sep 17 00:00:00 2001 From: Erin Beal Date: Mon, 8 Jan 2024 10:47:53 -0700 Subject: [PATCH] fix: wrong import shown for storage getUrl in migration guide --- src/fragments/lib/troubleshooting/common/upgrading.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fragments/lib/troubleshooting/common/upgrading.mdx b/src/fragments/lib/troubleshooting/common/upgrading.mdx index 57f674abcb8..6d7f83a48f3 100644 --- a/src/fragments/lib/troubleshooting/common/upgrading.mdx +++ b/src/fragments/lib/troubleshooting/common/upgrading.mdx @@ -771,7 +771,7 @@ As of v6 of Amplify, you will now import the functional API’s directly from th ``` - import { uploadData, downloadData } from 'aws-amplify/storage'; + import { getUrl, uploadData } from 'aws-amplify/storage'; // Upload a file with access level `guest` as the equivalent of `public` in v5 const result = await uploadData({