diff --git a/packages/core/src/connectors/aliyun-dm/index.ts b/packages/core/src/connectors/aliyun-dm/index.ts index 54ff0c04a..0d4595d0b 100644 --- a/packages/core/src/connectors/aliyun-dm/index.ts +++ b/packages/core/src/connectors/aliyun-dm/index.ts @@ -56,6 +56,7 @@ export type AliyunDmConfig = z.infer; export const sendMessage: EmailSendMessageFunction = async (address, type, data) => { const config = await getConnectorConfig(metadata.id); + await validateConfig(config); const template = config.templates.find((template) => template.type === type); if (!template) {