diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-05-22 09:38:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 09:38:38 +0800 |
commit | ec2a01d1e20c0d33c1ea7e362a7dfd5b653dd15f (patch) | |
tree | 8e19355b61950108a5b4a850429a19b2141d8386 /routers | |
parent | 2d3ebe889e7c25152821d4456b651e00fad43da1 (diff) | |
download | gitea-ec2a01d1e20c0d33c1ea7e362a7dfd5b653dd15f.tar.gz gitea-ec2a01d1e20c0d33c1ea7e362a7dfd5b653dd15f.zip |
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)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/private/restore_repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") } } |