@@ -39,7 +39,7 @@ import { list } from 'aws-amplify/storage';
39
39
40
40
const result = await list ({
41
41
path: ' album/photos/' ,
42
- // Alternatively, path: ({identityId}) => `album/{identityId}/photos/`
42
+ // Alternatively, path: ({identityId}) => `album/$ {identityId}/photos/`
43
43
});
44
44
```
45
45
@@ -72,7 +72,7 @@ let nextToken;
72
72
const loadNextPage = async () => {
73
73
const response = await list({
74
74
path: 'photos/',
75
- // Alternatively, path: ({ identityId }) => ` album/ {identityId}/ photos/ `
75
+ // Alternatively, path: ({ identityId }) => ` album/ $ {identityId}/ photos/ `
76
76
options: {
77
77
pageSize: PAGE_SIZE,
78
78
nextToken,
@@ -93,7 +93,7 @@ import { list } from 'aws-amplify/storage';
93
93
94
94
const result = await list({
95
95
path: 'album/photos/',
96
- // Alternatively, path: ({identityId}) => ` album/ {identityId}/ photos/ ` ,
96
+ // Alternatively, path: ({identityId}) => ` album/ $ {identityId}/ photos/ ` ,
97
97
options: {
98
98
listAll: true,
99
99
}
@@ -1070,7 +1070,7 @@ import { getProperties } from 'aws-amplify/storage';
1070
1070
try {
1071
1071
const result = await getProperties ({
1072
1072
path: ' album/2024/1.jpg' ,
1073
- // Alternatively, path: ({ identityId }) => `album/{identityId}/1.jpg`
1073
+ // Alternatively, path: ({ identityId }) => `album/$ {identityId}/1.jpg`
1074
1074
options: {
1075
1075
// Specify a target bucket using name assigned in Amplify Backend
1076
1076
bucket: ' assignedNameInAmplifyBackend'
0 commit comments