1
0
mirror of https://github.com/bitwarden/server synced 2025-12-18 09:13:19 +00:00

object is always first

This commit is contained in:
Kyle Spearrin
2019-02-28 20:49:52 -05:00
parent 9916668a7a
commit 0a82f472ef

View File

@@ -1,4 +1,5 @@
using System; using System;
using Newtonsoft.Json;
namespace Bit.Core.Models.Api namespace Bit.Core.Models.Api
{ {
@@ -14,6 +15,7 @@ namespace Bit.Core.Models.Api
Object = obj; Object = obj;
} }
[JsonProperty(Order = -200)] // Always the first property
public string Object { get; private set; } public string Object { get; private set; }
} }
} }