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({