mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
666ae8d787
this helps consumer of the datastore method handle the not found scenario better and ensures we always return a 4xx code by default if we can't find a matching team. seems like calls to this method were special-cased everywhere except in the apply user roles endpoint, where we returned a `500` status code if we couldn't find a team. |
||
---|---|---|
.. | ||
appconfig.go | ||
devices.go | ||
errors.go | ||
hosts.go | ||
mdm_profiles.go | ||
mdm_test.go | ||
mdm.go | ||
service.go | ||
software.go | ||
teams_test.go | ||
teams.go | ||
users_test.go | ||
users.go |