We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696e6a5 commit 93baa11Copy full SHA for 93baa11
src/index.js
@@ -96,7 +96,7 @@ function mapEpisodeUrlToEpisode(episodes, episodeUrl) {
96
97
function fetchEpisodes() {
98
// More info about the fetch function? https://github.com/bitinn/node-fetch#json
99
- return fetch("https://rickandmortyapi.com/api/character/")
+ return fetch("https://rickandmortyapi.com/api/episode/")
100
.then(res => res.json())
101
.then(json => json.results);
102
}
0 commit comments