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 Port "Fix wrong test usage of AppSubURL" 2024-03-06 21:47:44 +01:00
notify drop log.Error in ReadRepoNotifications 2024-03-24 07:12:31 +01:00
org feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
repo Handle invalid target when creating releases using API (#31841) 2024-09-14 18:45:18 +02:00
settings Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
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 Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
api.go activitypub: Implement an instance-wide actor 2024-08-05 10:50:26 +02:00