fix(docs): small error (#9868)
* fix(docs): small error * fix(docs): small typo error
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user