From 7a4f9a45a68d49db069ce8dce46f1e4be4674b45 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 22 Aug 2024 19:54:40 +0100 Subject: [PATCH] fix(github): register webhook with valid callback url --- crates/forge-github/src/webhook/register.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/forge-github/src/webhook/register.rs b/crates/forge-github/src/webhook/register.rs index f26c6b6..056a951 100644 --- a/crates/forge-github/src/webhook/register.rs +++ b/crates/forge-github/src/webhook/register.rs @@ -35,7 +35,7 @@ pub async fn register( "active": true, "events": ["push"], "config": { - "url": repo_listen_url.as_ref(), + "url": repo_listen_url.to_string(), "content_type": "json", "secret": authorisation.to_string(), "insecure_ssl": "0",