0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 04:24:14 +01:00
gitea/routers/api
zeripath a4a6a5987b
Return 404 NotFound if requested attachment does not exist (#20886)
Add code to test if GetAttachmentByID returns an ErrAttachmentNotExist error
and return NotFound instead of InternalServerError

Fix #20884

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-24 13:36:21 +01:00
..
packages Add support for NuGet API keys (#20721) 2022-08-09 17:36:49 +03:00
v1 Return 404 NotFound if requested attachment does not exist (#20886) 2022-08-24 13:36:21 +01:00