fix: issues in organization build.

This commit is contained in:
Ahmed Bouhuolia
2020-09-05 15:12:38 +02:00
parent 481ca8aa8b
commit 79b7a02f85
10 changed files with 65 additions and 38 deletions

View File

@@ -15,12 +15,7 @@ import UserInviteMailJob from '@/jobs/UserInviteMail';
export default ({ agenda }: { agenda: Agenda }) => {
new WelcomeEmailJob(agenda);
new ResetPasswordMailJob(agenda);
agenda.define(
'welcome-sms',
{ priority: 'high' },
new WelcomeSMSJob().handler
);
new WelcomeSMSJob(agenda);
// User invite mail.
agenda.define(