Skip to content

Commit 1030c5a

Browse files
authored
Update README.md Fix Export Import Project (#534)
1 parent c7614d1 commit 1030c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ You can also import previously exported snapshots into the same project or a dif
934934

935935
```typescript
936936
const validateReq = {
937-
files: exportRes.files,
937+
files: exportRes.data.files,
938938
};
939939

940940
// Validate that an exported snapshot can be imported into the current project
@@ -945,7 +945,7 @@ if (!validateRes.ok) {
945945

946946
// Import the previously exported snapshot into the current project
947947
const importReq = {
948-
files: exportRes.files,
948+
files: exportRes.data.files,
949949
};
950950

951951
await descopeClient.management.project.importSnapshot(files);

0 commit comments

Comments
 (0)