Skip to content

Commit

Permalink
Fix grammar issue in the doc
Browse files Browse the repository at this point in the history
added "in" to fix a grammar issue
  • Loading branch information
webgodo authored Nov 12, 2024
1 parent ffa3a15 commit 23eb3c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This chapter lists constraints to keep in mind when creating a service.

Medusa wraps service method executions to inject useful context or transactions. However, since Medusa can't detect whether the method is asynchronous, it always executes methods in the wrapper with the `await` keyword.

For example, if you have a synchronous `getMessage` method, and you use it other resources like workflows, Medusa executes it as an async method:
For example, if you have a synchronous `getMessage` method, and you use it in other resources like workflows, Medusa executes it as an async method:

```ts
await helloModuleService.getMessage()
Expand Down

0 comments on commit 23eb3c1

Please sign in to comment.