Fixed an issue where the table didn't match the model.

Fixed #67
This commit is contained in:
tidusjar 2016-03-22 13:22:47 +00:00
commit 59cf379d56
7 changed files with 16 additions and 12 deletions

View file

@ -337,7 +337,8 @@ function buildRequestContext(result, type) {
issues: result.issues,
otherMessage: result.otherMessage,
requestId: result.id,
adminNote: result.adminNotes
adminNote: result.adminNotes,
imdb: result.imdbId
};
return context;

View file

@ -139,7 +139,8 @@ function buildMovieContext(result) {
voteCount: result.voteCount,
voteAverage: result.voteAverage,
year: year,
type: "movie"
type: "movie",
imdb: result.imdbId
};
return context;
@ -154,7 +155,8 @@ function buildTvShowContext(result) {
title: result.seriesName,
overview: result.overview,
year: year,
type: "tv"
type: "tv",
imdb: result.imdbId
};
return context;
}