docs: rename Architectural Modules to Infrastructure Modules (#12212)
* docs: rename Architectural Modules to Infrastructure Modules * generate again
This commit is contained in:
@@ -690,7 +690,7 @@ Since you export a `POST` route handler function, you expose an `API` route at `
|
||||
1. A request object with details and context on the request, such as body parameters or authenticated user details.
|
||||
2. A response object to manipulate and send the response.
|
||||
|
||||
In the route handler, you use the Medusa container that is available in the request object to resolve the [Event Module](../../../architectural-modules/event/page.mdx). This module manages events and their subscribers.
|
||||
In the route handler, you use the Medusa container that is available in the request object to resolve the [Event Module](../../../infrastructure-modules/event/page.mdx). This module manages events and their subscribers.
|
||||
|
||||
Then, you emit the `algolia.sync` event using the Event Module's `emit` method, passing it the event name.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user