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:
@@ -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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user