pub async fn create_webhook(
pool: &PgPool,
id: WebhookId,
name: &str,
description: &Option<String>,
source_type: &str,
secret_token: &Option<String>,
) -> Result<(), Error>Expand description
Creates a new webhook configuration.