loopbackio / loopbackio/loopback-next
Incorrect method used in express-composition example
Open
bug
Docs
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1.1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 27
Description
### Describe the bug
The [documentation](https://loopback.io/doc/en/lb4/express-with-lb4-rest-tutorial.html) refers to method `pEvent` which is no longer used. Instead, we should use the `once` method that is used by the example
### Logs
_No response_
### Additional information
_No response_
### Reproduction
https://loopback.io/doc/en/lb4/express-with-lb4-rest-tutorial.html
Contributor guide
Assessment
This issue has not been assessed yet.