diff --git a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html index 0767fd7..4253e12 100644 --- a/src/main/twirl/gitbucket/core/settings/edithooks.scala.html +++ b/src/main/twirl/gitbucket/core/settings/edithooks.scala.html @@ -146,7 +146,7 @@ $("#test-modal-url").text(url) $("#test-report-modal").modal('show') $("#test-report").hide(); - var targetUrl = '@url(repository)/settings/hooks/test?url=' + encodeURIComponent(url) + '&token='; + var targetUrl = '@url(repository)/settings/hooks/test?url=' + encodeURIComponent(url) + '&ctype=' + ctype + '&token='; if (token) { targetUrl = targetUrl + encodeURIComponent(token); }