0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-11 12:45:35 +01:00
gitea/routers/api
Nanguan Lin 6e2aafd513
Fix 500 when pushing release to an empty repo (#29554)
As title. 
The former code directly used `ctx.Repo.GitRepo`, causing 500.

22b4f0c09f/routers/api/v1/repo/release.go (L241)
2024-03-03 16:49:05 +00:00
..
actions
packages
v1 Fix 500 when pushing release to an empty repo (#29554) 2024-03-03 16:49:05 +00:00