Fixed bug where movies and moviefiles were not linked.

This commit is contained in:
Leonardo Galli 2017-01-06 15:37:44 +01:00
parent 9aa8050627
commit 4fd062b4e3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}