This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
Defining action hooks on tables not woking #76
Labels
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: