1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added active toggle to webhooks

To allow easy temporary de-activation without deletion or other
workarounds. Updated tests to cover.
This commit is contained in:
Dan Brown
2021-12-12 17:39:06 +00:00
parent 917598f7c8
commit dbd4281ae8
10 changed files with 41 additions and 8 deletions

View File

@ -20,6 +20,7 @@ class WebhookFactory extends Factory
return [
'name' => 'My webhook for ' . $this->faker->country(),
'endpoint' => $this->faker->url,
'active' => true,
];
}
}