Skip to content

Commit fbe3f17

Browse files
committed
update docs
1 parent 8d483d1 commit fbe3f17

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/website/javascript/middleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ analytics.addDestinationMiddleware('integrationA', ({ payload, next, integration
6464

6565
- `payload` represents the event payload sent by Analytics.js. To change the value of the `payload`, mutate the `payload.obj` object. (See the example below.)
6666
- `next` represents the next function to be called in the destination middleware chain. If the middleware provided does not call this function, then the event is dropped completely for the given destination.
67-
- `integration` is a string value representing the integration that this middleware is applied to.
67+
- `integration` is a string value representing the integration that this middleware is applied to. To apply middleware to all destinations (excluding Segment.io), you can use the `*` value.
6868

6969
#### Example: Modifying an event
7070
```js

0 commit comments

Comments
 (0)