diff options
author | zeripath <art27@cantab.net> | 2020-10-12 22:09:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 17:09:21 -0400 |
commit | f2858600af811c584c82b45efbf343b53821575b (patch) | |
tree | e95ee8548b08821a5ba2d57c4cd4af65eed5bda3 /models/star.go | |
parent | 8be3e439c2b3a90fcb639b732008486b85314b8d (diff) | |
download | gitea-f2858600af811c584c82b45efbf343b53821575b.tar.gz gitea-f2858600af811c584c82b45efbf343b53821575b.zip |
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>
Diffstat (limited to 'models/star.go')
0 files changed, 0 insertions, 0 deletions