refactor: hlint
This commit is contained in:
parent
a91fd7fd63
commit
e2c664d7d4
@ -103,9 +103,7 @@ postEAutoOccurrenceR tid ssh csh examn = do
|
||||
nudgeRes <- sequence . flip Map.fromSet (setOf (folded . _entityKey) occurrences) $ \occId ->
|
||||
runFormPost $ examAutoOccurrenceNudgeForm occId (formResult' calculateRes)
|
||||
|
||||
let calculateRes' = asum $
|
||||
[ calculateRes
|
||||
] ++ toListOf (folded . _1 . _1) nudgeRes
|
||||
let calculateRes' = asum $ calculateRes : nudgeRes ^.. folded . _1 . _1
|
||||
|
||||
calcResult <- formResultMaybe calculateRes' $ \ExamAutoOccurrenceCalculateForm{..} -> runDB $ do
|
||||
participants <- E.select . E.from $ \(registration `E.InnerJoin` user) -> do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user