Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
use the actual method name
Browse files Browse the repository at this point in the history
  • Loading branch information
jaebradley committed Dec 25, 2016
1 parent f7e513d commit 457079c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/translators/PlaysTranslator.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class PlaysTranslator {
let plays = data.sports_content.game.play;
let index = Math.min(5, plays.length);
let recentPlays = plays.slice(-index);
return List(recentPlays.map(play => PlaysTranslator.Play(play)));
return List(recentPlays.map(play => PlaysTranslator.buildPlay(play)));
}

static buildPlay(play) {
Expand Down

0 comments on commit 457079c

Please sign in to comment.