mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-13 01:33:23 +00:00
Remove deprecated processEmailsTask and associated helpers
- Deleted batch email processing logic in favor of individual email jobs - Updated `mailingJobs` to only register `processEmailJob` - Simplified LiquidJS initialization check in `MailingService` - Bumped version to 0.4.13
This commit is contained in:
@@ -366,7 +366,7 @@ export class MailingService implements IMailingService {
|
||||
if (engine === 'liquidjs') {
|
||||
try {
|
||||
await this.ensureLiquidJSInitialized()
|
||||
if (this.liquid && typeof this.liquid !== 'boolean') {
|
||||
if (this.liquid) {
|
||||
return await this.liquid.parseAndRender(template, variables)
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user