Fix build

This commit is contained in:
Gregor Kleen 2018-11-29 12:52:02 +01:00
parent 910d7a90fe
commit f126246a23

View File

@ -122,7 +122,7 @@ makeCourseTable whereClause colChoices psValidator = do
return (course, participants, registered, school)
dbtProj :: DBRow _ -> MaybeT (ReaderT SqlBackend (HandlerT UniWorX IO)) CourseTableData
dbtProj = traverse $ \(course, E.Value participants, E.Value registered, school) -> return (course, participants, registered, school)
fmap snd $ dbTable psValidator DBTable
snd <$> dbTable psValidator DBTable
{ dbtSQLQuery
, dbtColonnade = colChoices
, dbtProj