Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Fixes #2995: Movies/Filmography JS Error (#3007)
Browse files Browse the repository at this point in the history
  • Loading branch information
manrajgrover authored and moollaza committed Jan 4, 2017
1 parent 62f2bf9 commit 9d1cd3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion share/spice/movies/filmography/movies_filmography.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
!data.results[0] ||
!data.results[0].id
);
var castId = data.results[0].id;

if (hasFailed) {
return Spice.failed('movies_filmography');
}

var castId = data.results[0].id;

$.getJSON(DETAIL_ENDPOINT + castId, function(api_result) {
var hasFailed = (
Expand Down

0 comments on commit 9d1cd3a

Please sign in to comment.