Skip to content

Commit

Permalink
fix(server/api/repo): Fix repair webhook host (#2372) (#2452)
Browse files Browse the repository at this point in the history
Backports #2372 to release 1.0

Fixes #2371

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
  • Loading branch information
math3vz and qwerty287 authored Sep 13, 2023
1 parent 7db2c05 commit 010da2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func RepairRepo(c *gin.Context) {
}

// reconstruct the link
host := server.Config.Server.Host
host := server.Config.Server.WebhookHost
link := fmt.Sprintf(
"%s/hook?access_token=%s",
host,
Expand Down

0 comments on commit 010da2e

Please sign in to comment.