0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-31 09:31:18 +01:00
gitea/routers/api/v1
Giteabot e6395e1e81
Handle invalid target when creating releases using API (#31841) (#32043)
Backport #31841 by @kemzeb

A 500 status code was thrown when passing a non-existent target to the
create release API. This snapshot handles this error and instead throws
a 404 status code.

Discovered while working on #31840.

Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
2024-09-17 02:23:40 +00:00
..
activitypub
admin Fix empty field login_name in API response JSON when creating user (#30511) 2024-04-16 13:13:00 +08:00
misc Fix missing images in editor preview due to wrong links (#31299) (#31393) 2024-06-17 15:07:21 +08:00
notify
org Fix bug on avatar (#31008) (#31019) 2024-05-20 02:54:53 +00:00
packages
repo Handle invalid target when creating releases using API (#31841) (#32043) 2024-09-17 02:23:40 +00:00
settings
shared Update misspell to 0.5.1 and add misspellings.csv (#30573) 2024-04-27 08:03:49 +00:00
swagger
user Fix bug on avatar (#31008) (#31019) 2024-05-20 02:54:53 +00:00
utils
api.go feat(api): enhance Actions Secrets Management API for repository (#30656) 2024-04-26 21:11:49 +08:00