diff options
author | John Olheiser <john.olheiser@gmail.com> | 2023-09-21 17:55:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 17:55:09 -0500 |
commit | 7520cd678c3ef037db702296192d8664b6f02a54 (patch) | |
tree | 2107f266844529d3a24c055a4f5a5f0db775c687 /services/webhook/general_test.go | |
parent | 1f026bcb7eecad0b98d65089bb7fe5986b337d7d (diff) | |
download | gitea-7520cd678c3ef037db702296192d8664b6f02a54.tar.gz gitea-7520cd678c3ef037db702296192d8664b6f02a54.zip |
Fix release URL in webhooks (#27182)
Diffstat (limited to 'services/webhook/general_test.go')
-rw-r--r-- | services/webhook/general_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/webhook/general_test.go b/services/webhook/general_test.go index 64bd72f5a0..a9a8c6b521 100644 --- a/services/webhook/general_test.go +++ b/services/webhook/general_test.go @@ -240,7 +240,7 @@ func pullReleaseTestPayload() *api.ReleasePayload { Target: "master", Title: "First stable release", Note: "Note of first stable release", - URL: "http://localhost:3000/api/v1/repos/test/repo/releases/2", + HTMLURL: "http://localhost:3000/test/repo/releases/tag/v1.0", }, } } |