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
{{ message }}
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
I'm trying to implement an action hook after updating or inserting a new row in a table called pages, this is the expected implementation following the reference:
From directus created by rainst : directus/directus#2199
Version Info
I'm trying to implement an action hook after updating or inserting a new row in a table called pages, this is the expected implementation following the reference:
but when I try to insert or edit something I get this response from the API, where line 81 is the one where the update hook is defined.
If I remove the pages filter it works as expected, it triggers for every table
'table.update:after' => function ($table, $data) { ... }
What am I doing wrong here?
thank you!
The text was updated successfully, but these errors were encountered: