diff --git a/src/webhook.rs b/src/webhook.rs index 32cfb70..e7772e0 100644 --- a/src/webhook.rs +++ b/src/webhook.rs @@ -61,7 +61,7 @@ pub(crate) async fn hook( StatusCode::INTERNAL_SERVER_ERROR, Json(HookResponse { ok: false, - message: Some(format!("Failed to handle push event.")), + message: Some("Failed to handle push event.".to_string()), }), ), }