mirror of
https://github.com/go-gitea/gitea
synced 2025-01-25 08:07:42 +01:00
b84303ef6e
Backport #29554 by @lng2020
As title.
The former code directly used `ctx.Repo.GitRepo`, causing 500.
22b4f0c09f/routers/api/v1/repo/release.go (L241)
Co-authored-by: Nanguan Lin <nanguanlin6@gmail.com>