mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-17 21:00:38 +02:00
fix broken hooks (again)
This commit is contained in:
parent
fcaf2c7223
commit
ff76f730cc
@ -85,7 +85,7 @@ type HookProcReceiveRefResult struct {
|
|||||||
func genGroupSegment(groupID int64) string {
|
func genGroupSegment(groupID int64) string {
|
||||||
var groupSegment string
|
var groupSegment string
|
||||||
if groupID > 0 {
|
if groupID > 0 {
|
||||||
groupSegment = fmt.Sprintf("%d/", groupID)
|
groupSegment = fmt.Sprintf("group/%d/", groupID)
|
||||||
}
|
}
|
||||||
return groupSegment
|
return groupSegment
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user