1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-27 15:31:11 +02:00
gitea/routers
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
..
api Return 404 NotFound if requested attachment does not exist (#20886) 2022-08-24 13:36:21 +01:00
common
install
private Add migrate repo archiver and packages storage support on command line (#20757) 2022-08-16 12:05:15 +08:00
utils
web refactor webhook *EditPost (#20780) 2022-08-23 02:52:35 -04:00
init.go