Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Sarah Vaupel 2020-08-10 11:53:19 +02:00
parent 18bd29b746
commit 139d848292

View File

@ -105,7 +105,7 @@ isCourseApplicant muid AuthTagActive{..} cid maid = E.exists . E.from $ \courseA
E.just (courseApplication E.^. CourseApplicationUser) E.==. E.val muid
E.&&. courseApplication E.^. CourseApplicationCourse E.==. cid
E.&&. E.val (authTagIsActive AuthApplicant)
E.&&. maybe (E.val True)
E.&&. maybe E.true
(\aid -> E.just aid E.==. courseApplication E.^. CourseApplicationAllocation)
maid