diff --git a/apps/api/src/app/inbound-parse/usecases/inbound-email-parse/inbound-email-parse.usecase.ts b/apps/api/src/app/inbound-parse/usecases/inbound-email-parse/inbound-email-parse.usecase.ts index bbfccfe4f58..ac1e48ef513 100644 --- a/apps/api/src/app/inbound-parse/usecases/inbound-email-parse/inbound-email-parse.usecase.ts +++ b/apps/api/src/app/inbound-parse/usecases/inbound-email-parse/inbound-email-parse.usecase.ts @@ -47,7 +47,7 @@ export class InboundEmailParse { const compiledDomain = await this.compileTemplate.execute( CompileTemplateCommand.create({ - template: currentParseWebhook, + template: currentParseWebhook as string, data: job.payload, }) );