Fix multiple typos in medusa docs (#5854)
This commit is contained in:
@@ -59,7 +59,7 @@ The exported configuration object of type `SubscriberConfig` must include the fo
|
||||
|
||||
### Subscriber Handler Function
|
||||
|
||||
The default-export of the subscriber file is a handler function that is executed when the events specified in the exported configuration is triggerd.
|
||||
The default-export of the subscriber file is a handler function that is executed when the events specified in the exported configuration is triggered.
|
||||
|
||||
The function accepts a parameter of type `SubscriberArgs`, which has the following properties:
|
||||
|
||||
@@ -88,7 +88,7 @@ If you don't pass a subscriber ID to the subscriber configurations, the name of
|
||||
|
||||
## Caveats for Local Event Bus
|
||||
|
||||
If you use the `event-bus-local` as your event bus sevice, note the following:
|
||||
If you use the `event-bus-local` as your event bus service, note the following:
|
||||
|
||||
- The `subscriberId` passed in the context is overwritten to a random ID when using `event-bus-local`. So, setting the subscriber ID in the context won't have any effect in this case.
|
||||
- The `eventName` passed to the handler function will be `undefined` when using `event-bus-local` as it doesn't pass the event name properly.
|
||||
|
||||
@@ -112,7 +112,7 @@ Object of the following format:
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Triggered after the `preProcessBatchJob` of a batch job stategy is done executing.
|
||||
Triggered after the `preProcessBatchJob` of a batch job strategy is done executing.
|
||||
|
||||
</td>
|
||||
<td>
|
||||
@@ -2012,7 +2012,7 @@ In addition, an error object is passed within the same object as the Payment Pro
|
||||
//... other payment fields
|
||||
error: {
|
||||
name, //string
|
||||
nessage, //string
|
||||
message, //string
|
||||
stack, //(optional) string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user