Javascript – How to combine response of 2 results using Node.js
The below code is to get the user list associated with particular id and this service.ts file. async getId(id:number){ //below code will give us participants list based on id let participants = await this.participantRepo.findById(id) //here I am looping each participant…