Skip to content

Commit daa4d7f

Browse files
authored
fix: wrong import shown for storage getUrl in migration guide (aws-amplify#6749)
1 parent 3b32cb2 commit daa4d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fragments/lib/troubleshooting/common/upgrading.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ As of v6 of Amplify, you will now import the functional API’s directly from th
771771
</Block>
772772
<Block name="V6">
773773
```
774-
import { uploadData, downloadData } from 'aws-amplify/storage';
774+
import { getUrl, uploadData } from 'aws-amplify/storage';
775775
776776
// Upload a file with access level `guest` as the equivalent of `public` in v5
777777
const result = await uploadData({

0 commit comments

Comments
 (0)