Skip to content

Commit f098774

Browse files
authored
Update best-practices.md (#1922)
1 parent ba4fe99 commit f098774

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

about/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Handling synchronous requests vs asynchronous event messages:
368368
```js [Handling sync Requests]
369369
class CatalogService { async init() {
370370
this.on ('SubmitOrder', req => { // sync action request
371-
const { book, quantity } = msg.data // process it...
371+
const { book, quantity } = req.data // process it...
372372
})
373373
}}
374374
```

0 commit comments

Comments
 (0)