I have a Component and a Service:
Component:
Use this code in your service:
return this.getReports(accessToken) .then(reports => reports.filter(report => report.id === id)[0]);