forgejo/routers
Nanguan Lin c69a0bb506
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)
(cherry picked from commit 6e2aafd5130cb9436f02209ae90bf79a58cc13ae)
2024-03-06 12:10:47 +08:00
..
api Fix 500 when pushing release to an empty repo (#29554) 2024-03-06 12:10:47 +08:00
common Fix incorrect cookie path for AppSubURL (#29534) 2024-03-06 12:10:46 +08:00
install Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
private Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
init.go Actions Artifacts v4 backend (#28965) 2024-03-06 12:10:45 +08:00