Skip to content

Commit 9f1b23d

Browse files
authored
Fix example usage in readme
1 parent 8c7bfb4 commit 9f1b23d

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
@@ -32,7 +32,7 @@ yarn add unstructured-client
3232
<!-- No SDK Installation -->
3333

3434
## SDK Example Usage
35-
Only the `files` parameter is required. See the [general partition]([General](docs/sdks/general/README.md)) page for all available parameters.
35+
Only the `files` parameter is required. See the [general partition](docs/sdks/general/README.md) page for all available parameters.
3636

3737
```typescript
3838
import { UnstructuredClient } from "unstructured-client";
@@ -54,7 +54,7 @@ client.general.partition({
5454
// Note that this currently only supports a single file
5555
files: {
5656
content: data,
57-
files: filename,
57+
fileName: filename,
5858
},
5959
// Other partition params
6060
strategy: "fast",

0 commit comments

Comments
 (0)