0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-02 11:49:44 -05:00
forgejo/routers/api/v1
Kemal Zebari eb765dabfd
Handle invalid target when creating releases using API (#31841)
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.

(cherry picked from commit f05d9c98c4cb95e3a8a71bf3e2f8f4529e09f96f)
2024-09-14 18:45:18 +02:00
..
activitypub activitypub: Implement an instance-wide actor 2024-08-05 10:50:26 +02:00
admin fix(api): Correct descriptions for quota calls 2024-08-12 22:05:56 +02:00
misc
notify
org feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
packages
repo Handle invalid target when creating releases using API (#31841) 2024-09-14 18:45:18 +02:00
settings
shared feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
swagger feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
user feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
utils
api.go activitypub: Implement an instance-wide actor 2024-08-05 10:50:26 +02:00