From 951e9fd7f2d4e925969e773e4c29715fc400b5af Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Mon, 22 Apr 2024 14:13:38 -0400 Subject: [PATCH] test: email e2e updated nodemailer usage --- test/email/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/email/config.ts b/test/email/config.ts index 434bbe843d..36759cbdd1 100644 --- a/test/email/config.ts +++ b/test/email/config.ts @@ -1,4 +1,4 @@ -import { createNodemailerAdapter } from '@payloadcms/email-nodemailer' +import { nodemailerAdapter } from '@payloadcms/email-nodemailer' import path from 'path' import { getFileByPath } from 'payload/uploads' import { fileURLToPath } from 'url' @@ -16,7 +16,7 @@ export default buildConfigWithDefaults({ // ...extend config here collections: [PostsCollection, MediaCollection], globals: [MenuGlobal], - email: createNodemailerAdapter(), + email: nodemailerAdapter(), onInit: async (payload) => { await payload.create({ collection: 'users',