mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 16:23:23 +00:00
Remove onReady callback from plugin
The onReady callback is no longer needed since the plugin no longer schedules initial processing jobs during initialization.
This commit is contained in:
@@ -107,10 +107,6 @@ export const mailingPlugin = (pluginConfig: MailingPluginConfig) => (config: Con
|
||||
} as MailingContext
|
||||
|
||||
|
||||
// Call onReady callback if provided
|
||||
if (pluginConfig.onReady) {
|
||||
await pluginConfig.onReady(payload)
|
||||
}
|
||||
|
||||
if (pluginConfig.initOrder !== 'after' && config.onInit) {
|
||||
await config.onInit(payload)
|
||||
|
||||
Reference in New Issue
Block a user