Webhooks have titles now.

This commit is contained in:
James Cole
2020-12-03 06:54:42 +01:00
parent eb80578e30
commit a539cfe4f2
11 changed files with 50 additions and 31 deletions

View File

@@ -55,7 +55,8 @@ class WebhookRepository implements WebhookRepositoryInterface
{
$fullData = [
'user_id' => $this->user->id,
'active' => $data['active'],
'active' => $data['active'] ?? false,
'title' => $data['title'] ?? null,
'trigger' => $data['trigger'],
'response' => $data['response'],
'delivery' => $data['delivery'],