Fixed bug where movies and moviefiles were not linked.

pull/34/head
Leonardo Galli 8 years ago
parent 9aa8050627
commit 4fd062b4e3

@ -109,7 +109,7 @@ namespace NzbDrone.Core.Tv
return Query.Where(m => m.MovieFileId == fileId).ToList();
}
public void SetFileId(int episodeId, int fileId)
public void SetFileId(int fileId, int episodeId)
{
SetFields(new Movie { Id = episodeId, MovieFileId = fileId }, movie => movie.MovieFileId);
}

Loading…
Cancel
Save