mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-31 03:15:16 -04:00
Fixing small issue with episode's repository
This commit is contained in:
@@ -73,7 +73,8 @@ namespace Kyoo.Controllers
|
||||
}
|
||||
|
||||
Episode episode = await _database.Episodes.FirstOrDefaultAsync(x => x.Show.Slug == slug);
|
||||
episode.ShowSlug = slug;
|
||||
if (episode != null)
|
||||
episode.ShowSlug = slug;
|
||||
return episode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user