fix(docs): small error (#9868)

* fix(docs): small error

* fix(docs): small typo error
This commit is contained in:
0xflotus
2024-10-30 09:17:35 +01:00
committed by GitHub
parent ccec9b8750
commit 7b51204ef3
2 changed files with 2 additions and 2 deletions
@@ -8,7 +8,7 @@ In this chapter, you'll learn how to validate request body parameters in your cu
## Example Scenario ## 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. The next steps explain how to add validation to this API route, as an example.
@@ -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. 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.
<Note title="Tip"> <Note title="Tip">