Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(server-communication): Fix typo in example #2199

Merged
merged 2 commits into from
Aug 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class WikipediaService {

return this.jsonp
.get(wikiUrl + queryString)
.map(request => <string[]> request.json()[1]);
.map(response => <string[]> response.json()[1]);
// #enddocregion query-string
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class WikipediaService {
// TODO: Add error handling
return this.jsonp
.get(wikiUrl, { search: params })
.map(request => <string[]> request.json()[1]);
.map(response => <string[]> response.json()[1]);
// #enddocregion call-jsonp
}
}