mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 05:16:34 +02:00
fixed renamed OID to id in json response.
This commit is contained in:
12
NzbDrone.Core/Datastore/ModelBase.cs
Normal file
12
NzbDrone.Core/Datastore/ModelBase.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Linq;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NzbDrone.Core.Datastore
|
||||
{
|
||||
public abstract class ModelBase
|
||||
{
|
||||
[PetaPoco.Ignore]
|
||||
[JsonProperty(PropertyName = "id")]
|
||||
public int OID { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user