Fix spelling mistake in ProcReceive (#19853)

There was a spelling mistake in the ProcReceive handler. This PR fixes
this.
tokarchuk/v1.17
zeripath 2 years ago committed by GitHub
parent 730b9a5a62
commit d002e3da00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      routers/private/hook_proc_receive.go
  2. 4
      services/agit/agit.go

@ -23,7 +23,7 @@ func HookProcReceive(ctx *gitea_context.PrivateContext) {
return
}
results := agit.ProcRecive(ctx, opts)
results := agit.ProcReceive(ctx, opts)
if ctx.Written() {
return
}

@ -20,8 +20,8 @@ import (
pull_service "code.gitea.io/gitea/services/pull"
)
// ProcRecive handle proc receive work
func ProcRecive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult {
// ProcReceive handle proc receive work
func ProcReceive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult {
// TODO: Add more options?
var (
topicBranch string

Loading…
Cancel
Save