Skip to content
Merged
Prev Previous commit
Next Next commit
Fix bug from reformatting
  • Loading branch information
Sashko Stubailo committed Sep 1, 2016
commit 208a5cdbfbcfc5d62b57c8afe62187d2414925da
4 changes: 2 additions & 2 deletions site/docs/_swapiSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ function getFriends(character) {
function getHero(episode) {
if (episode === 'EMPIRE') {
// Luke is the hero of Episode V.
return luke;
return humanData['1000'];
}
// Artoo is the hero otherwise.
return artoo;
return droidData['2001'];
}

/**
Expand Down