mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix: use nullsafe operator for project attribute retrieval in Action class
This commit is contained in:
parent
d53090647b
commit
f9efdfd98e
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ abstract class Action extends DatabasesAction
|
|||
->from($queueForEvents)
|
||||
->trigger();
|
||||
|
||||
if (!empty($queueForEvents->getProject()->getAttribute('webhooks', []))) {
|
||||
if (!empty($queueForEvents->getProject()?->getAttribute('webhooks', []))) {
|
||||
$queueForWebhooks
|
||||
->from($queueForEvents)
|
||||
->trigger();
|
||||
|
|
|
|||
Loading…
Reference in a new issue