Update page.mdx (#8425)
corrected example to use createNotifications vs create
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user