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
There's no other issue that already describes my problem.
Describe the Bug
When doing a POST to create a new item in a collection, the response is a completely different item.
I am using Axios to send the request from a React application.
This is the payload I sent to the API
This is the response
Judging by the property deck_name we see it's a completely different item. However, the newly created item is correctly created in the database and the correct relations are there. So it's just the response that's wrong.
To Reproduce
Have a collection with some items in them
Create a new item using POST via the API
Log the request response
See a different item is returned instead of the newly created one
What version of Directus are you using?
v9.0.0-rc.87
What version of Node.js are you using?
v12.18.3
What database are you using?
Postgres 13
What browser are you using?
Brave/Chrome
What operating system are you using?
macOS
How are you deploying Directus?
manually to DigitalOcean Droplet
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
When doing a POST to create a new item in a collection, the response is a completely different item.
I am using Axios to send the request from a React application.
Judging by the property deck_name we see it's a completely different item. However, the newly created item is correctly created in the database and the correct relations are there. So it's just the response that's wrong.
To Reproduce
What version of Directus are you using?
v9.0.0-rc.87
What version of Node.js are you using?
v12.18.3
What database are you using?
Postgres 13
What browser are you using?
Brave/Chrome
What operating system are you using?
macOS
How are you deploying Directus?
manually to DigitalOcean Droplet
The text was updated successfully, but these errors were encountered: