Update page.mdx (#8425)

corrected example to use createNotifications vs create
This commit is contained in:
420coupe authored and GitHub committed 2024-08-05 07:21:11 +00:00
1 parent 80e44576fc
commit a392b2be0c
1 file changed
+1 -1
@@ -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",