|
getComments(name: string, owner: string) { |
|
return this.http |
|
.get( |
|
"https://api.github.com/repos/" + |
|
owner + |
|
"/" + |
|
name + |
|
"/issues/5/comments" |
should be:
return this.http
.get(`https://api.github.com/repos/${owner}/${name}/issues/5/comments`)
RepoSearchEngine/src/app/comments.service.ts
Lines 11 to 18 in 9156dc7
should be: