loopbackio / loopbackio/loopback-next

Incorrect method used in express-composition example

Open
#8,237 0 comments 0 reactions 1 assignee Claimed by @achrinza View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.