refactor: hlint
This commit is contained in:
parent
29a3e24bcf
commit
d817179113
@ -106,7 +106,7 @@ postEEditR tid ssh csh examn = do
|
|||||||
}
|
}
|
||||||
|
|
||||||
deleteWhere [ ExamOfficeSchoolExam ==. eId ]
|
deleteWhere [ ExamOfficeSchoolExam ==. eId ]
|
||||||
insertMany_ . map (flip ExamOfficeSchool eId) $ Set.toList efOfficeSchools
|
insertMany_ [ ExamOfficeSchool ssh' eId | ssh' <- Set.toList efOfficeSchools ]
|
||||||
|
|
||||||
let (invites, adds) = partitionEithers $ Set.toList efCorrectors
|
let (invites, adds) = partitionEithers $ Set.toList efCorrectors
|
||||||
|
|
||||||
|
|||||||
@ -75,7 +75,7 @@ postCExamNewR tid ssh csh = do
|
|||||||
examOccurrenceDescription = eofDescription
|
examOccurrenceDescription = eofDescription
|
||||||
]
|
]
|
||||||
|
|
||||||
insertMany_ . map (flip ExamOfficeSchool examid) $ Set.toList efOfficeSchools
|
insertMany_ [ ExamOfficeSchool ssh' examid | ssh' <- Set.toList efOfficeSchools ]
|
||||||
|
|
||||||
let (invites, adds) = partitionEithers $ Set.toList efCorrectors
|
let (invites, adds) = partitionEithers $ Set.toList efCorrectors
|
||||||
insertMany_ [ ExamCorrector{..}
|
insertMany_ [ ExamCorrector{..}
|
||||||
|
|||||||
Reference in New Issue
Block a user