mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: use nullsafe operator for project attribute retrieval in Action class
This commit is contained in:
1 parent
d53090647b
commit
f9efdfd98e
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user