Fix pattern matching missing case

This commit is contained in:
fr33domlover 2020-08-31 09:19:34 +00:00
parent cc0040f012
commit 7415175bea

View file

@ -850,7 +850,7 @@ createTicketC (Entity pidUser personUser) sharerUser summary audience ticket muT
let mlu' =
case mpatch of
Just (Just luBranch, _, _) -> Just luBranch
Nothing -> mlu
_ -> mlu
mroid <- for mlu' $ \ lu -> either entityKey id <$> insertBy' (RemoteObject iid lu)
let removeBranch (mb, typ, diff) = (typ, diff)
return (era, mroid, removeBranch <$> mpatch)