Skip to main content

insert_webhook

Function insert_webhook 

Source
pub async fn insert_webhook(
    pool: &PgPool,
    id: WebhookId,
    name: &str,
    description: &Option<String>,
    source_type: &str,
    secret_token: &Option<String>,
) -> Result<(), Error>
Expand description

Inserts a new webhook.