mirror of
https://gitee.com/gitea/gitea
synced 2025-11-03 16:10:25 +08:00
Refactor HTTP request context (#17979)
This commit is contained in:
@@ -134,7 +134,7 @@ func HookPreReceive(ctx *gitea_context.PrivateContext) {
|
||||
}
|
||||
}
|
||||
|
||||
ctx.PlainText(http.StatusOK, []byte("ok"))
|
||||
ctx.PlainText(http.StatusOK, "ok")
|
||||
}
|
||||
|
||||
func preReceiveBranch(ctx *preReceiveContext, oldCommitID, newCommitID, refFullName string) {
|
||||
|
||||
Reference in New Issue
Block a user