mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-08 10:44:20 -04:00
Fixing small issue with episode's repository
This commit is contained in:
parent
7dbb84780c
commit
b6e23ce61e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user