mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Rework the webhooks table, allow to update exists webhooks
This commit is contained in:
3
common/tests/fixtures/data/webhooks.php
vendored
3
common/tests/fixtures/data/webhooks.php
vendored
@@ -4,18 +4,21 @@ return [
|
||||
'id' => 1,
|
||||
'url' => 'http://localhost:80/webhooks/ely',
|
||||
'secret' => 'my-secret',
|
||||
'events' => ['account.edit'],
|
||||
'created_at' => 1531054333,
|
||||
],
|
||||
'webhook-without-secret' => [
|
||||
'id' => 2,
|
||||
'url' => 'http://localhost:81/webhooks/ely',
|
||||
'secret' => null,
|
||||
'events' => ['account.edit'],
|
||||
'created_at' => 1531054837,
|
||||
],
|
||||
'webhook-without-events' => [
|
||||
'id' => 3,
|
||||
'url' => 'http://localhost:82/webhooks/ely',
|
||||
'secret' => null,
|
||||
'events' => [],
|
||||
'created_at' => 1531054990,
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user