mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fixed bug where movies and moviefiles were not linked.
This commit is contained in:
parent
9aa8050627
commit
4fd062b4e3
@ -109,7 +109,7 @@ public List<Movie> GetMoviesByFileId(int fileId)
|
||||
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…
Reference in New Issue
Block a user