Skip to content

Commit

Permalink
updated import example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ogazitt committed Mar 28, 2024
1 parent f20e437 commit a1f3b70
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ await directoryClient.deleteManifest();
```ts

const importRequest = createAsyncIterable([
new ImportRequest({
{
opCode: 1,
msg: {
case: "object",
Expand All @@ -734,8 +734,8 @@ const importRequest = createAsyncIterable([
displayName: "name1",
},
},
}),
new ImportRequest({
},
{
opCode: 1,
msg: {
case: "object",
Expand All @@ -746,8 +746,8 @@ const importRequest = createAsyncIterable([
displayName: "name2",
},
},
}),
new ImportRequest({
},
{
opCode: 1,
msg: {
case: "relation",
Expand All @@ -759,7 +759,7 @@ const importRequest = createAsyncIterable([
relation: "manager",
},
},
}),
},
]);

const resp = await directoryClient.import(importRequest);
Expand Down

0 comments on commit a1f3b70

Please sign in to comment.