Mercurial > hg > orthanc
diff OrthancServer/LuaScripting.cpp @ 2519:2e6b7862ccf2
ParseAnonymizationRequest/ParseModifyRequest now in DicomModification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Mar 2018 14:52:11 +0200 |
parents | 878b59270859 |
children | f7a84b551ee4 5094369664f0 |
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.cpp Thu Mar 29 14:41:41 2018 +0200 +++ b/OrthancServer/LuaScripting.cpp Thu Mar 29 14:52:11 2018 +0200 @@ -274,7 +274,7 @@ { LOG(INFO) << "Lua script to modify resource " << parameters["Resource"].asString(); std::auto_ptr<DicomModification> modification(new DicomModification); - OrthancRestApi::ParseModifyRequest(*modification, parameters); + modification->ParseModifyRequest(parameters); std::auto_ptr<ModifyInstanceCommand> command (new ModifyInstanceCommand(context_, RequestOrigin_Lua, modification.release()));