From 7b51204ef396cecdc85ec7a18270c123d29a24cd Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Wed, 30 Oct 2024 09:17:35 +0100 Subject: [PATCH] fix(docs): small error (#9868) * fix(docs): small error * fix(docs): small typo error --- .../learn/advanced-development/api-routes/validation/page.mdx | 2 +- www/apps/book/app/learn/basics/modules/page.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/apps/book/app/learn/advanced-development/api-routes/validation/page.mdx b/www/apps/book/app/learn/advanced-development/api-routes/validation/page.mdx index 6c0106f55c..8c5669ddd7 100644 --- a/www/apps/book/app/learn/advanced-development/api-routes/validation/page.mdx +++ b/www/apps/book/app/learn/advanced-development/api-routes/validation/page.mdx @@ -8,7 +8,7 @@ In this chapter, you'll learn how to validate request body parameters in your cu ## Example Scenario -Consider you're creating a `POST` API route at `/custom`. It accepts two paramters `a` and `b` that are required numbers, and returns their sum. +Consider you're creating a `POST` API route at `/custom`. It accepts two parameters `a` and `b` that are required numbers, and returns their sum. The next steps explain how to add validation to this API route, as an example. diff --git a/www/apps/book/app/learn/basics/modules/page.mdx b/www/apps/book/app/learn/basics/modules/page.mdx index 4f92a9864f..ccefdce443 100644 --- a/www/apps/book/app/learn/basics/modules/page.mdx +++ b/www/apps/book/app/learn/basics/modules/page.mdx @@ -85,7 +85,7 @@ In the snippet above, your module's service extends a class generated by the `Me The `MedusaService` function accepts as a parameter an object of data models, and returns a class with generated methods for data-management Create, Read, Update, and Delete (CRUD) operations on those data models. -For example, `HelloModuleService` now has a `createMyCustoms` method to create `MyCustom` records, and `retrieveMyCustom` to retrive a `MyCustom` record. +For example, `HelloModuleService` now has a `createMyCustoms` method to create `MyCustom` records, and `retrieveMyCustom` to retrieve a `MyCustom` record.