From f55211c30e4a3ee274a441742b5a759907fec7e2 Mon Sep 17 00:00:00 2001 From: Roelof Kallenkoot Date: Fri, 28 Feb 2025 08:57:35 +0100 Subject: [PATCH] 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! --- www/apps/book/components/Homepage/CodeTabs/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/apps/book/components/Homepage/CodeTabs/index.tsx b/www/apps/book/components/Homepage/CodeTabs/index.tsx index 9dfc836b7b..71538fe3c4 100644 --- a/www/apps/book/components/Homepage/CodeTabs/index.tsx +++ b/www/apps/book/components/Homepage/CodeTabs/index.tsx @@ -231,11 +231,11 @@ export default defineLink( source: `async function orderPlaced({ container, }: SubscriberArgs) { - const notificaitonModuleService = container.resolve( + const notificationModuleService = container.resolve( Modules.NOTIFICATION ) - await notificaitonModuleService.createNotifications({ + await notificationModuleService.createNotifications({ to: "customer@gmail.com", channel: "email", template: "order-placed" @@ -253,7 +253,7 @@ export const config: SubscriberConfig = { ], [ "4", - "notificaitonModuleService", + "notificationModuleService", "Resolve a module's main service\nto use its methods.", ], ["8", "createNotification", "Send an email to a customer."],