docs
docs copied to clipboard
Gen 2 storage doc sample code syntax error
Describe the content issue:
Code betlow is missing the semicolon after line allow.guest.to(['read'])
[
allow.guest.to(['read'])
allow.entity('identity').to(['read', 'write', 'delete'])
]
URL page where content issue is: https://docs.amplify.aws/react/build-a-backend/storage/set-up-storage/#define-file-path-access
Thanks so much for catching this! Created a PR to fix: https://github.com/aws-amplify/docs/pull/7489
Another syntax error here: https://docs.amplify.aws/react/build-a-backend/storage/upload-files/#monitor-upload-progress
Missing await in line const result = uploadData xx