mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
add series works again, now includes title.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace NzbDrone.Core.Datastore
|
||||
|
||||
public T Insert<T>(T obj) where T : ModelBase
|
||||
{
|
||||
if (obj.OID != 0)
|
||||
if (obj.Id != 0)
|
||||
{
|
||||
throw new InvalidOperationException("Attempted to insert object with existing ID as new object");
|
||||
}
|
||||
@@ -48,7 +48,7 @@ namespace NzbDrone.Core.Datastore
|
||||
|
||||
public T Update<T>(T obj) where T : ModelBase
|
||||
{
|
||||
if (obj.OID == 0)
|
||||
if (obj.Id == 0)
|
||||
{
|
||||
throw new InvalidOperationException("Attempted to update object without an ID");
|
||||
}
|
||||
|
Reference in New Issue
Block a user