Skip to content

Commit d002e3d

Browse files
authored
Fix spelling mistake in ProcReceive (#19853)
There was a spelling mistake in the ProcReceive handler. This PR fixes this.
1 parent 730b9a5 commit d002e3d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

routers/private/hook_proc_receive.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func HookProcReceive(ctx *gitea_context.PrivateContext) {
2323
return
2424
}
2525

26-
results := agit.ProcRecive(ctx, opts)
26+
results := agit.ProcReceive(ctx, opts)
2727
if ctx.Written() {
2828
return
2929
}

services/agit/agit.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
pull_service "code.gitea.io/gitea/services/pull"
2121
)
2222

23-
// ProcRecive handle proc receive work
24-
func ProcRecive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult {
23+
// ProcReceive handle proc receive work
24+
func ProcReceive(ctx *context.PrivateContext, opts *private.HookOptions) []private.HookProcReceiveRefResult {
2525
// TODO: Add more options?
2626
var (
2727
topicBranch string

0 commit comments

Comments
 (0)