diff OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp @ 2800:dc7330089736

"OrthancPeers" configuration option now allows to specify HTTP headers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 Aug 2018 13:11:48 +0200
parents 5eea2f11e8df
children 4e43e67f8ecf
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp	Wed Aug 22 16:55:07 2018 +0200
+++ b/OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp	Thu Aug 23 13:11:48 2018 +0200
@@ -87,7 +87,9 @@
   {
     result = Json::objectValue;
     result["Type"] = "StorePeer";
-    peer_.Serialize(result["Peer"]);
+    peer_.Serialize(result["Peer"], 
+                    true /* force advanced format */,
+                    true /* include passwords */);
   }