https://unstructured-io.github.io code example error. (files > fileName)
pdkn opened this issue · comments
The Site docs need to be synced with this repos README.md
https://unstructured-io.github.io/unstructured/apis/api_sdks.html
has
files: {
content: data,
files: filename,
},
it should be
https://github.com/Unstructured-IO/unstructured-js-client/blob/main/README.md
files: {
content: data,
fileName: filename,
},
(files: filename,
renamed to fileName: filename,
)
Thank you for flagging!