From ec2a01d1e20c0d33c1ea7e362a7dfd5b653dd15f Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 22 May 2023 09:38:38 +0800 Subject: Fix regression: access log template, gitea manager cli command (#24838) Close #24836 ![image](https://github.com/go-gitea/gitea/assets/2114189/95b025d2-f25f-4246-a08a-fe44ecb787a9) ![image](https://github.com/go-gitea/gitea/assets/2114189/c3afe1fa-2a23-420d-a016-3b67dcd04cd5) --- routers/private/restore_repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers') diff --git a/routers/private/restore_repo.go b/routers/private/restore_repo.go index 97ac9a3c5a..7efc22a3d9 100644 --- a/routers/private/restore_repo.go +++ b/routers/private/restore_repo.go @@ -48,6 +48,6 @@ func RestoreRepo(ctx *myCtx.PrivateContext) { Err: err.Error(), }) } else { - ctx.Status(http.StatusOK) + ctx.PlainText(http.StatusOK, "success") } } -- cgit v1.2.3