Rewrite async/await to promise [JavaScript, Node.js, Nest.js]
I try rewrite it to Promise only style, but i got an empty result. How it's right way for rewrite it only use a Promise, without async/await async getWishes() { const wishes = await this.app.wishesService.getAllWishes() for (const wish of wishes)…