Skip to content

Commit

Permalink
Fix #12
Browse files Browse the repository at this point in the history
  • Loading branch information
waylaidwanderer committed Dec 1, 2016
1 parent c991396 commit eb0b58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function cacheHeroesList(callback) {
}
heroesListCache = {
timestamp: Math.round(Date.now()/1000),
response: body
response: JSON.parse(body)
};
fs.writeFileSync(__dirname + '/heroes.json', JSON.stringify(heroesListCache));
callback(body);
Expand Down

0 comments on commit eb0b58e

Please sign in to comment.