comparison OrthancServer/ServerJobs/OrthancPeerStoreJob.cpp @ 2669:eaf10085ffa1 jobs

no passwords in public content of jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 09 Jun 2018 14:15:32 +0200
parents a21b244efb37
children dc7330089736
comparison
equal deleted inserted replaced
2668:d26dd081df97 2669:eaf10085ffa1
96 void OrthancPeerStoreJob::GetPublicContent(Json::Value& value) 96 void OrthancPeerStoreJob::GetPublicContent(Json::Value& value)
97 { 97 {
98 SetOfInstancesJob::GetPublicContent(value); 98 SetOfInstancesJob::GetPublicContent(value);
99 99
100 Json::Value v; 100 Json::Value v;
101 peer_.ToJson(v); 101 peer_.ToJson(v, false /* don't include passwords */);
102 value["Peer"] = v; 102 value["Peer"] = v;
103 } 103 }
104 104
105 105
106 static const char* PEER = "Peer"; 106 static const char* PEER = "Peer";