changeset 3319:df90c2a56acd

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Mar 2019 13:10:46 +0100
parents b770435a93d3
children 0f721f015b85
files Plugins/Samples/Common/OrthancPluginCppWrapper.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Fri Mar 01 16:39:14 2019 +0100
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Mon Mar 04 13:10:46 2019 +0100
@@ -1773,7 +1773,7 @@
     uint16_t status;
     OrthancPluginErrorCode code = OrthancPluginCallPeerApi
         (GetGlobalContext(), &answer, NULL, &status, peers_,
-         static_cast<uint32_t>(index), OrthancPluginHttpMethod_Put, uri.c_str(),
+         static_cast<uint32_t>(index), OrthancPluginHttpMethod_Delete, uri.c_str(),
          0, NULL, NULL, NULL, 0, timeout_);
 
     if (code == OrthancPluginErrorCode_Success)