Update page.mdx (#8425)

corrected example to use createNotifications vs create
This commit is contained in:
420coupe
2024-08-05 03:21:11 -04:00
committed by GitHub
parent 80e44576fc
commit a392b2be0c

View File

@@ -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",