1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/api/v1
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
..
activitypub Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
admin remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
misc Fix wrong test usage of AppSubURL (#29459) 2024-02-29 03:39:24 +00:00
notify Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo Fix 500 when pushing release to an empty repo (#29554) 2024-03-03 16:49:05 +00:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger Add admin API route for managing user's badges (#23106) 2024-03-01 03:23:28 -05:00
user Allow options to disable user gpg keys configuration from the interface on app.ini (#29486) 2024-03-02 01:21:01 +00:00
utils Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Add admin API route for managing user's badges (#23106) 2024-03-01 03:23:28 -05:00