fradrive/src/Jobs/Handler/SendNotification.hs
2018-12-21 14:59:28 +01:00

19 lines
567 B
Haskell

module Jobs.Handler.SendNotification
( dispatchJobSendNotification
) where
import Import
import Jobs.Types
import Jobs.Handler.SendNotification.SubmissionRated
import Jobs.Handler.SendNotification.SheetActive
import Jobs.Handler.SendNotification.SheetInactive
import Jobs.Handler.SendNotification.CorrectionsAssigned
import Jobs.Handler.SendNotification.CorrectionsNotDistributed
dispatchJobSendNotification :: UserId -> Notification -> Handler ()
dispatchJobSendNotification jRecipient jNotification = $(dispatchTH ''Notification) jNotification jRecipient