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