mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
debug
This commit is contained in:
parent
5ed1ca617f
commit
921b9154eb
1 changed files with 6 additions and 0 deletions
|
|
@ -54,6 +54,12 @@ class Webhooks extends Action
|
|||
$this->errors = [];
|
||||
$payload = $message->getPayload() ?? [];
|
||||
|
||||
var_dump([
|
||||
'id' => $project->getId(),
|
||||
'region' => $project->getAttribute('region'),
|
||||
|
||||
]);
|
||||
|
||||
if (empty($payload)) {
|
||||
throw new Exception('Missing payload');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue