diff --git a/crates/cli/src/server/actor/handlers/notify_user.rs b/crates/cli/src/server/actor/handlers/notify_user.rs index 38cf9ff0..85c5102e 100644 --- a/crates/cli/src/server/actor/handlers/notify_user.rs +++ b/crates/cli/src/server/actor/handlers/notify_user.rs @@ -39,7 +39,9 @@ async fn send_webhook( tracing::warn!("Invalid notification configuration (config) - can't sent notification"); return; }; - let Ok(webhook) = Webhook::new(webhook_config.secret().expose_secret()) else { + let Ok(webhook) = + Webhook::from_bytes(webhook_config.secret().expose_secret().as_bytes().into()) + else { tracing::warn!("Invalid notification configuration (signer) - can't sent notification"); return; };