diff --git a/src/tools/auth0/handlers/actions.ts b/src/tools/auth0/handlers/actions.ts index 3a60026a..3111cd25 100644 --- a/src/tools/auth0/handlers/actions.ts +++ b/src/tools/auth0/handlers/actions.ts @@ -244,7 +244,7 @@ export default class ActionHandler extends DefaultAPIHandler { } } - @order('60') + @order('50') async processChanges(assets: Assets) { const { actions } = assets; diff --git a/src/tools/auth0/handlers/emailProvider.ts b/src/tools/auth0/handlers/emailProvider.ts index ae4ad2cb..a116b7f7 100644 --- a/src/tools/auth0/handlers/emailProvider.ts +++ b/src/tools/auth0/handlers/emailProvider.ts @@ -1,6 +1,6 @@ import { EmailProviderCreate } from 'auth0'; import { isEmpty } from 'lodash'; -import DefaultHandler from './default'; +import DefaultHandler, { order } from './default'; import { Asset, Assets } from '../../../types'; export const schema = { type: 'object' }; @@ -33,6 +33,7 @@ export default class EmailProviderHandler extends DefaultHandler { return super.objString({ name: provider.name, enabled: provider.enabled }); } + @order('60') async processChanges(assets: Assets): Promise { const { emailProvider } = assets; diff --git a/src/tools/auth0/handlers/emailTemplates.ts b/src/tools/auth0/handlers/emailTemplates.ts index b6f93147..0e652981 100644 --- a/src/tools/auth0/handlers/emailTemplates.ts +++ b/src/tools/auth0/handlers/emailTemplates.ts @@ -72,7 +72,7 @@ export default class EmailTemplateHandler extends DefaultHandler { } // Run after email provider changes - @order('60') + @order('70') async processChanges(assets: Assets): Promise { const { emailTemplates } = assets;