loopback.io
loopback.io copied to clipboard
Typo in Documentation
Hello, In the page: https://loopback.io/doc/en/lb4/express-with-lb4-rest-tutorial.html,
According to example, this snippet in document:
// For testing purposes
public async stop() {
if (!this.server) return;
await this.lbApp.stop();
this.server.close();
await pEvent(this.server, 'close');
this.server = undefined;
}
must be :
// For testing purposes
public async stop() {
if (!this.server) return;
await this.lbApp.stop();
this.server.close();
await once(this.server, 'close');
this.server = undefined;
}
Thanks
hey is this issue still open?? can I work on it??
@VaishnaviMudaliar, sorry about the late reply. Definitely! The source is coming from the loopback-next repo: https://github.com/loopbackio/loopback-next/blob/master/docs/site/express-with-lb4-rest-tutorial.md.