@@ -39,7 +39,7 @@ import { list } from 'aws-amplify/storage';
3939
4040const result = await list ({
4141 path: ' album/photos/' ,
42- // Alternatively, path: ({identityId}) => `album/{identityId}/photos/`
42+ // Alternatively, path: ({identityId}) => `album/$ {identityId}/photos/`
4343});
4444```
4545
@@ -72,7 +72,7 @@ let nextToken;
7272const loadNextPage = async () => {
7373 const response = await list({
7474 path: 'photos/',
75- // Alternatively, path: ({ identityId }) => ` album/ {identityId}/ photos/ `
75+ // Alternatively, path: ({ identityId }) => ` album/ $ {identityId}/ photos/ `
7676 options: {
7777 pageSize: PAGE_SIZE,
7878 nextToken,
@@ -93,7 +93,7 @@ import { list } from 'aws-amplify/storage';
9393
9494const result = await list({
9595 path: 'album/photos/',
96- // Alternatively, path: ({identityId}) => ` album/ {identityId}/ photos/ ` ,
96+ // Alternatively, path: ({identityId}) => ` album/ $ {identityId}/ photos/ ` ,
9797 options: {
9898 listAll: true,
9999 }
@@ -1070,7 +1070,7 @@ import { getProperties } from 'aws-amplify/storage';
10701070try {
10711071 const result = await getProperties ({
10721072 path: ' album/2024/1.jpg' ,
1073- // Alternatively, path: ({ identityId }) => `album/{identityId}/1.jpg`
1073+ // Alternatively, path: ({ identityId }) => `album/$ {identityId}/1.jpg`
10741074 options: {
10751075 // Specify a target bucket using name assigned in Amplify Backend
10761076 bucket: ' assignedNameInAmplifyBackend'
0 commit comments