gitea/routers/api/v1
zeripath 5ebd26d306
Return 404 NotFound if requested attachment does not exist (#20886) (#20941)
Backport #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>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-25 11:30:41 +08:00
..
admin
misc
notify
org Fix owners cannot create organization repos bug (#20841) (#20854) 2022-08-18 14:54:48 -04:00
packages
repo Return 404 NotFound if requested attachment does not exist (#20886) (#20941) 2022-08-25 11:30:41 +08:00
settings
swagger
user Pad GPG Key ID with preceding zeroes (#20878) (#20885) 2022-08-22 19:35:18 +01:00
utils
api.go
auth_windows.go
auth.go