mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
go vet and fix #1890
This commit is contained in:
@@ -250,11 +250,6 @@ func Action(ctx *middleware.Context) {
|
||||
redirectTo = ctx.Repo.RepoLink
|
||||
}
|
||||
ctx.Redirect(redirectTo)
|
||||
|
||||
return
|
||||
ctx.JSON(200, map[string]interface{}{
|
||||
"ok": true,
|
||||
})
|
||||
}
|
||||
|
||||
func Download(ctx *middleware.Context) {
|
||||
|
Reference in New Issue
Block a user