comparison OrthancServer/LuaScripting.cpp @ 2020:a0bd8cd55da7

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 Jun 2016 17:19:10 +0200
parents ce90d109bb64
children 21713ce8717b
comparison
equal deleted inserted replaced
2019:9c9332e486ca 2020:a0bd8cd55da7
261 { 261 {
262 std::string peer = parameters["Peer"].asString(); 262 std::string peer = parameters["Peer"].asString();
263 LOG(INFO) << "Lua script to send resource " << parameters["Resource"].asString() 263 LOG(INFO) << "Lua script to send resource " << parameters["Resource"].asString()
264 << " to peer " << peer << " using HTTP"; 264 << " to peer " << peer << " using HTTP";
265 265
266 OrthancPeerParameters parameters; 266 WebServiceParameters parameters;
267 Configuration::GetOrthancPeer(parameters, peer); 267 Configuration::GetOrthancPeer(parameters, peer);
268 return new StorePeerCommand(context_, parameters, true); 268 return new StorePeerCommand(context_, parameters, true);
269 } 269 }
270 270
271 if (operation == "modify") 271 if (operation == "modify")