diff options
author | Frederick Muriuki Muriithi | 2023-01-30 03:51:01 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-30 03:51:01 +0300 |
commit | a523a767aecb7f1ced67788eda289f0d6c8e30fd (patch) | |
tree | fe7cb31328c235b21495189c640a69c3a90059c4 /gn3/computations | |
parent | 920648f55475ad706828f696141dcd07edb1ef73 (diff) | |
download | genenetwork3-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 'gn3/computations')
0 files changed, 0 insertions, 0 deletions