Skip to content

Commit

Permalink
Fix a typo in the example code
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikPalo authored and arb committed Apr 23, 2018
1 parent 0e8e574 commit 639fbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Expand Up @@ -104,7 +104,7 @@ Consuming the plugin config in the stream transform:
```js
_transform(data, enc, next) {

if (data.eventName === 'response' && data.config.suppressResponseEvent === true) {
if (data.event === 'response' && data.config.suppressResponseEvent === true) {
return next();
}

Expand Down

0 comments on commit 639fbec

Please sign in to comment.