Fixing season's repository

This commit is contained in:
Zoe Roux
2021-03-16 10:14:51 +01:00
parent a74a06913c
commit 25edb3977a
9 changed files with 20 additions and 2173 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ namespace Kyoo.Controllers
await EditRelations(old, edited);
if (resetOld)
Utility.Nullify(old);
Utility.Complete(old, edited, x => x.GetCustomAttribute<EditableRelationAttribute>() != null);
Utility.Complete(old, edited, x => x.GetCustomAttribute<LoadableRelationAttribute>() == null);
await Validate(old);
await Database.SaveChangesAsync();
return old;