You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line const schema = res.schema; should be changed to const schema = res.properties;.
This allows the code snippet to work and to make it consistent with the rest of the documentation.
The text was updated successfully, but these errors were encountered:
mattelim
changed the title
[Documentation Feedback]:
[Documentation Feedback]: Rest API / Objects / Update a data obect / Javascript code snippet
Jun 2, 2023
mattelim
changed the title
[Documentation Feedback]: Rest API / Objects / Update a data obect / Javascript code snippet
[Documentation Feedback]: Update javascript code snippet in REST "Update a data object"
Jun 2, 2023
Page URL
https://weaviate.io/developers/weaviate/api/rest/objects#update-a-data-object
User feedback
Under "Update a data object", within the "Javascript" code snippet:
The line
const schema = res.schema;
should be changed toconst schema = res.properties;
.This allows the code snippet to work and to make it consistent with the rest of the documentation.
The text was updated successfully, but these errors were encountered: