mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-04 10:05:18 +02:00
fix broken hooks
This commit is contained in:
parent
22170232bb
commit
f32e445b27
@ -77,7 +77,6 @@ func goGet(ctx *context.Context) {
|
||||
goGetImport := context.ComposeGoGetImport(ctx, ownerName, trimmedRepoName)
|
||||
|
||||
var cloneURL string
|
||||
gid, _ := strconv.ParseInt(group, 10, 64)
|
||||
if setting.Repository.GoGetCloneURLProtocol == "ssh" {
|
||||
cloneURL = repo_model.ComposeSSHCloneURL(ctx.Doer, ownerName, repoName, gid)
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user