docs: typo on homePage codeTabs notificationModuleService (#11658)

**What - what changes are in this PR**
Typo on the homepage in the codeTabs

**Why - why are these changes relevant**
Simple typo that might be bothering more people than just me!

**How - how have the changes been implemented**
Fixed the typo from: `notificaitonModuleService` to `notificationModuleService`

**Testing - how has the changes been tested or how can the reviewer test the feature**
Should be simple enough not to require full testing locally!
This commit is contained in:
Roelof Kallenkoot
2025-02-28 07:57:35 +00:00
committed by GitHub
parent 93dc10332d
commit f55211c30e
@@ -231,11 +231,11 @@ export default defineLink(
source: `async function orderPlaced({ source: `async function orderPlaced({
container, container,
}: SubscriberArgs) { }: SubscriberArgs) {
const notificaitonModuleService = container.resolve( const notificationModuleService = container.resolve(
Modules.NOTIFICATION Modules.NOTIFICATION
) )
await notificaitonModuleService.createNotifications({ await notificationModuleService.createNotifications({
to: "customer@gmail.com", to: "customer@gmail.com",
channel: "email", channel: "email",
template: "order-placed" template: "order-placed"
@@ -253,7 +253,7 @@ export const config: SubscriberConfig = {
], ],
[ [
"4", "4",
"notificaitonModuleService", "notificationModuleService",
"Resolve a module's main service\nto use its methods.", "Resolve a module's main service\nto use its methods.",
], ],
["8", "createNotification", "Send an email to a customer."], ["8", "createNotification", "Send an email to a customer."],