summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-06-01 04:06:31 +0100
committerGitHub <noreply@github.com>2022-06-01 04:06:31 +0100
commitd002e3da008ec6945a405e4f14941bd42a341494 (patch)
treed367f8b51891aa224e325ca645106d5988885fcd /services
parent730b9a5a624651e4821a043fe3f596c92be2df01 (diff)
downloadgitea-d002e3da008ec6945a405e4f14941bd42a341494.tar.gz
gitea-d002e3da008ec6945a405e4f14941bd42a341494.zip
Fix spelling mistake in ProcReceive (#19853)
There was a spelling mistake in the ProcReceive handler. This PR fixes this.
Diffstat (limited to 'services')
-rw-r--r--services/agit/agit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/agit/agit.go b/services/agit/agit.go
index 2889236181..cc520dbc76 100644
--- a/services/agit/agit.go
+++ b/services/agit/agit.go
@@ -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