webhook: add admin-hooks tests
This commit is contained in:
parent
e0b5f2d59b
commit
9a94019db4
5 changed files with 40 additions and 20 deletions
|
@ -243,7 +243,7 @@ func PrepareWebhooks(ctx context.Context, source EventSource, event webhook_modu
|
|||
}
|
||||
|
||||
// Add any admin-defined system webhooks
|
||||
systemHooks, err := webhook_model.GetSystemWebhooks(ctx, optional.Some(true))
|
||||
systemHooks, err := webhook_model.GetSystemWebhooks(ctx, true)
|
||||
if err != nil {
|
||||
return fmt.Errorf("GetSystemWebhooks: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue