From a392b2be0ce5bfda0930ed36172196634059d9c1 Mon Sep 17 00:00:00 2001 From: 420coupe <35115310+420coupe@users.noreply.github.com> Date: Mon, 5 Aug 2024 03:21:11 -0400 Subject: [PATCH] Update page.mdx (#8425) corrected example to use createNotifications vs create --- .../app/architectural-modules/notification/sendgrid/page.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx b/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx index 1264222d08..7019dba8a4 100644 --- a/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx +++ b/www/apps/resources/app/architectural-modules/notification/sendgrid/page.mdx @@ -141,7 +141,7 @@ export default async function productCreateHandler({ const notificationModuleService: INotificationModuleService = container.resolve(ModuleRegistrationName.NOTIFICATION) - await notificationModuleService.create({ + await notificationModuleService.createNotifications({ to: "test@gmail.com", channel: "email", template: "product-created",