Replies: 2 comments 1 reply
-
@philleepflorence any thoughts? @WoLfulus could it be something Docker specific? |
Beta Was this translation helpful? Give feedback.
1 reply
-
ok so i fixed it. I need to if statment when any directus triggers ran 'item.update' => function ($collectionName, array $data) {
if (strpos($collectionName, 'directus_') === false) {
$client = new \GuzzleHttp\Client([
'base_uri' => "hosturl/project/build-deploy?collection=$collectionName&id=" . $data['id']
]);
try {
$response = $client->request('GET', '');
} catch (\Exception $e) {
}
}
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone see why this is not firing. its in a php file within /hooks in the docker container
even if i hard code it with the example in the docs, it goes beserk and keeps firing like crazy
Beta Was this translation helpful? Give feedback.
All reactions