mirror of https://bitbucket.org/anguist/ntpa
Fix primary key issue
This commit is contained in:
parent
e77d63106f
commit
53dbd4c3fc
|
@ -49,6 +49,8 @@ public override TimeServer Import(int orgId)
|
|||
try
|
||||
{
|
||||
server = JsonConvert.DeserializeObject<ExactlyTimeServer>(json);
|
||||
server.SetId(orgId);
|
||||
server.NewObject = true;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue