Fix build

This commit is contained in:
Gregor Kleen 2019-03-28 12:39:16 +01:00
parent 8af5ec822a
commit eae511ec02

View File

@ -2161,10 +2161,10 @@ instance YesodAuth UniWorX where
unless candidatesRecorded $ do
let
studyTermCandidates'' = do
(studyTermCandidateKey, studyTermCandidateName) <- Set.toList studyTermCandidates'
studyTermCandidates' = do
(studyTermCandidateKey, studyTermCandidateName) <- Set.toList studyTermCandidates
return StudyTermCandidate{..}
lift $ insertMany_ studyTermCandidates''
lift $ insertMany_ studyTermCandidates'
lift $ E.updateWhere [StudyFeaturesUser ==. userId] [StudyFeaturesValid =. False]
forM_ fs $ \f@StudyFeatures{..} -> do