refactor(jobs): use new user sync job name
This commit is contained in:
parent
19433fdc56
commit
6cd0152636
@ -71,7 +71,7 @@ import Jobs.Handler.SendCourseCommunication
|
|||||||
import Jobs.Handler.Invitation
|
import Jobs.Handler.Invitation
|
||||||
import Jobs.Handler.SendPasswordReset
|
import Jobs.Handler.SendPasswordReset
|
||||||
import Jobs.Handler.TransactionLog
|
import Jobs.Handler.TransactionLog
|
||||||
import Jobs.Handler.SynchroniseUserdb
|
import Jobs.Handler.SynchroniseUser
|
||||||
import Jobs.Handler.SynchroniseAvs
|
import Jobs.Handler.SynchroniseAvs
|
||||||
import Jobs.Handler.PruneInvitations
|
import Jobs.Handler.PruneInvitations
|
||||||
import Jobs.Handler.ChangeUserDisplayEmail
|
import Jobs.Handler.ChangeUserDisplayEmail
|
||||||
@ -493,7 +493,7 @@ handleJobs' wNum = C.mapM_ $ \jctl -> hoist delimitInternalState . withJobWorker
|
|||||||
, Exc.Handler $ \case
|
, Exc.Handler $ \case
|
||||||
MailNotAvailable -> return $ Right ()
|
MailNotAvailable -> return $ Right ()
|
||||||
e -> return . Left $ SomeException e
|
e -> return . Left $ SomeException e
|
||||||
, Exc.Handler $ \SynchroniseUserdbNoUserdb -> return $ Right () -- TODO
|
, Exc.Handler $ \SynchroniseUserNoSource -> return $ Right ()
|
||||||
#endif
|
#endif
|
||||||
, Exc.Handler $ \(e :: SomeException) -> return $ Left e
|
, Exc.Handler $ \(e :: SomeException) -> return $ Left e
|
||||||
] . fmap Right
|
] . fmap Right
|
||||||
|
|||||||
Reference in New Issue
Block a user