mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
fixed renamed OID to id in json response.
This commit is contained in:
parent
c904c6e085
commit
6c944758ed
8 changed files with 24 additions and 24 deletions
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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue