0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 09:54:15 -05:00
forgejo/routers/api/v1
zeripath f2858600af
Return 404 not 500 from API if team does not exist (#13118)
If team does not exist expect ErrTeamNotExist not ErrUserNotEXist

Fix #11336

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-10-12 17:09:21 -04:00
..
admin Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
misc Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
notify Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00
org Fix ListUserOrgs (#12910) 2020-09-21 00:55:48 +03:00
repo Improve error feedback for duplicate deploy keys (#13112) 2020-10-12 14:44:56 +01:00
settings fix: case typo (#13049) 2020-10-06 12:16:16 -04:00
swagger Issue templates directory (#11450) 2020-09-11 10:48:39 -04:00
user [API] Delete Token accept names too (#12366) 2020-08-28 11:09:33 +03:00
utils Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
api.go Return 404 not 500 from API if team does not exist (#13118) 2020-10-12 17:09:21 -04:00