fixed renamed OID to id in json response.

This commit is contained in:
kay.one 2013-02-17 19:18:25 -08:00
commit 6c944758ed
8 changed files with 24 additions and 24 deletions

View 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; }
}
}