aboutsummaryrefslogtreecommitdiffstats
path: root/routes/character-images.js
diff options
context:
space:
mode:
authorTeddy Wing2013-04-28 11:36:48 -0400
committerTeddy Wing2013-04-28 11:36:48 -0400
commitcf5c3a783a25a5a094be82b41cd66988c073df80 (patch)
treeab19e322b5bd701a504ebc30dedfd7a391944f23 /routes/character-images.js
parent1f763cbf0959c5722736a75e30fcc2c76637cd64 (diff)
downloadWho-am-I-cf5c3a783a25a5a094be82b41cd66988c073df80.tar.bz2
Reorganise JS and get characters from lasest video
* Reorganise frontend JavaScript to make it more compartmentalised * Grab characters from the latest video
Diffstat (limited to 'routes/character-images.js')
-rw-r--r--routes/character-images.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/character-images.js b/routes/character-images.js
index f4ef9b6..a30ee9c 100644
--- a/routes/character-images.js
+++ b/routes/character-images.js
@@ -42,7 +42,8 @@ module.exports = function(req, res) {
that.data.character_images.characters.push({
image: 'http://developer.tmsimg.com/' + r.preferredImage.uri + '?api_key=' + config.tms.key + '&h=100',
- name: r.preferredImage.caption.content
+ name: r.preferredImage.caption.content,
+ tms_personId: r.personId
});
callback();