From 74d75eb69ce0ecd61665ea2ad4a971aee0305c8e Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 14 Aug 2021 19:17:10 +0800 Subject: Fix spelling of HookProcReceiveResult (#16690) --- routers/private/hook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers') 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, }) } -- cgit v1.2.3