Fixing show's repository

This commit is contained in:
Zoe Roux
2021-03-16 23:20:56 +01:00
parent 93d271b192
commit 4b56ec4114
3 changed files with 38 additions and 17 deletions
+1 -2
View File
@@ -167,9 +167,8 @@ namespace Kyoo.Controllers
if (resetOld)
Utility.Nullify(old);
await EditRelations(old, edited, resetOld);
Utility.Complete(old, edited, x => x.GetCustomAttribute<LoadableRelationAttribute>() == null);
await Validate(old);
await EditRelations(old, edited, resetOld);
await Database.SaveChangesAsync();
return old;
}