mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-02 16:35:19 +02:00
go vet and fix #1890
This commit is contained in:
parent
58436b5ea5
commit
b55499d039
11 changed files with 30 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue