Skip to content

Commit 6455902

Browse files
committed
docs: fix name of 'badMessage' payload property
1 parent 15f0adb commit 6455902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Returns a `Promise` which resolves when the server has completed closing.
403403
#### Event: 'badMessage'
404404

405405
* `event` {Object}
406-
* `payload` {Buffer} - The raw discarded "bad" message payload.
406+
* `buffer` {Buffer} - The raw discarded "bad" message payload.
407407
* `error` {Error} - An error describing what went wrong when handling the payload.
408408
* `response` {Array|null} - A copy of the response sent in reply to the bad message (if applicable).
409409

0 commit comments

Comments
 (0)