forked from NYANDEV/forgejo
a4a6a5987b
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> |
||
---|---|---|
.. | ||
activitypub | ||
admin | ||
misc | ||
notify | ||
org | ||
packages | ||
repo | ||
settings | ||
swagger | ||
user | ||
utils | ||
api.go | ||
auth.go | ||
auth_windows.go |