diff OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp @ 2654:761031029aa9 jobs

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Jun 2018 17:09:18 +0200
parents 1da5a052c777
children c196d76cb8fa
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp	Tue Jun 05 15:46:02 2018 +0200
+++ b/OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp	Tue Jun 05 17:09:18 2018 +0200
@@ -84,6 +84,7 @@
   
   void StorePeerOperation::Serialize(Json::Value& result) const
   {
+    result = Json::objectValue;
     result["Type"] = "StorePeer";
     peer_.ToJson(result["Remote"]);
   }