aboutsummaryrefslogtreecommitdiff
path: root/sheepdog
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-01-30 03:51:01 +0300
committerFrederick Muriuki Muriithi2023-01-30 03:51:01 +0300
commita523a767aecb7f1ced67788eda289f0d6c8e30fd (patch)
treefe7cb31328c235b21495189c640a69c3a90059c4 /sheepdog
parent920648f55475ad706828f696141dcd07edb1ef73 (diff)
downloadgenenetwork3-a523a767aecb7f1ced67788eda289f0d6c8e30fd.tar.gz
auth: Do not treat not finding a group as an error
Stop treating not finding a group for a user as an error, since that is an actual expected state in the system at some point. Rather, restore the use of Maybe rather than using Either. We can raise the NotFoundError at the API level rather than at database retrival level.
Diffstat (limited to 'sheepdog')
0 files changed, 0 insertions, 0 deletions