aboutsummaryrefslogtreecommitdiffstats
path: root/routers/private
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-08-14 19:17:10 +0800
committerGitHub <noreply@github.com>2021-08-14 13:17:10 +0200
commit74d75eb69ce0ecd61665ea2ad4a971aee0305c8e (patch)
treede37a344b3a065282c42727cbb1bb572a262787e /routers/private
parentbbf9f41354a2ff48124231a18cdf0a26bc39235f (diff)
downloadgitea-74d75eb69ce0ecd61665ea2ad4a971aee0305c8e.tar.gz
gitea-74d75eb69ce0ecd61665ea2ad4a971aee0305c8e.zip
Fix spelling of HookProcReceiveResult (#16690)
Diffstat (limited to 'routers/private')
-rw-r--r--routers/private/hook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/hook.go b/routers/private/hook.go
index 4bed86f38a..40edcd9c5a 100644
--- a/routers/private/hook.go
+++ b/routers/private/hook.go
@@ -668,7 +668,7 @@ func HookProcReceive(ctx *gitea_context.PrivateContext) {
return
}
- ctx.JSON(http.StatusOK, private.HockProcReceiveResult{
+ ctx.JSON(http.StatusOK, private.HookProcReceiveResult{
Results: results,
})
}