refactor: hlint
This commit is contained in:
parent
447c710d4e
commit
f2971f66fd
@ -74,7 +74,7 @@ dispatchNotificationAllocationAllocation (otoList -> nAllocations) jRecipient =
|
||||
|
||||
unless (null courses) . userMailT jRecipient $ do
|
||||
now <- liftIO getCurrentTime
|
||||
let doRegisterDeadlines = any (> NTop (Just now)) $ map (NTop . allocationRegisterTo . entityVal) allocations
|
||||
let doRegisterDeadlines = any (((<) `on` NTop) (Just now) . allocationRegisterTo . entityVal) allocations
|
||||
|
||||
replaceMailHeader "Auto-Submitted" $ Just "auto-generated"
|
||||
case allocations of
|
||||
|
||||
Reference in New Issue
Block a user