New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhooks data without updated/created item reference (id) #9518
Comments
@nickrum I believe this is an easy fix. Instead of pulling all this from the payload, it should pull the accountability etc information from the meta instead: Lines 47 to 55 in a0e5d27
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Seems to be still happening in 9.0.1 and seems to be sending the same limited informationl. No id of item altered. |
Should directus/docs/extensions/hooks.md Lines 82 to 87 in a0e5d27
|
fix: missing action and item id in webhook data (directus#9518)
fix: missing action and item id in webhook data (directus#9518)
This reverts commit b172c0e.
Preflight Checklist
Describe the Bug
When I get a webhook data I'm unable to know which item and by who was updated/created. Payload contains only edited fields data (no id, no user_updated / user_created informations).
{ "collection": "video", "payload": { "date_created": "2020-09-01T16:02:17+02:00" }
To Reproduce
Errors Shown
No response
What version of Directus are you using?
9.0.0
What version of Node.js are you using?
16.13.0
What database are you using?
MySQL
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: