Skip to content

Commit 208a5cd

Browse files
author
Sashko Stubailo
committed
Fix bug from reformatting
1 parent 0299c2e commit 208a5cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/docs/_swapiSchema.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ function getFriends(character) {
281281
function getHero(episode) {
282282
if (episode === 'EMPIRE') {
283283
// Luke is the hero of Episode V.
284-
return luke;
284+
return humanData['1000'];
285285
}
286286
// Artoo is the hero otherwise.
287-
return artoo;
287+
return droidData['2001'];
288288
}
289289

290290
/**

0 commit comments

Comments
 (0)