changeset 2181:761dfdabe437

typo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Nov 2016 17:08:42 +0100
parents 71b8bec8ca91
children 085a41c66133
files Plugins/Samples/Common/IOrthancConnection.cpp Plugins/Samples/Common/IOrthancConnection.h
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/Common/IOrthancConnection.cpp	Fri Nov 25 17:00:39 2016 +0100
+++ b/Plugins/Samples/Common/IOrthancConnection.cpp	Fri Nov 25 17:08:42 2016 +0100
@@ -60,10 +60,10 @@
   }
 
 
-  void IOrthancConnection::RestApiGet(Json::Value& result,
-                                      IOrthancConnection& orthanc,
-                                      const std::string& uri,
-                                      const std::string& body)
+  void IOrthancConnection::RestApiPost(Json::Value& result,
+                                       IOrthancConnection& orthanc,
+                                       const std::string& uri,
+                                       const std::string& body)
   {
     std::string content;
     orthanc.RestApiPost(content, uri, body);
--- a/Plugins/Samples/Common/IOrthancConnection.h	Fri Nov 25 17:00:39 2016 +0100
+++ b/Plugins/Samples/Common/IOrthancConnection.h	Fri Nov 25 17:08:42 2016 +0100
@@ -61,9 +61,9 @@
                            IOrthancConnection& orthanc,
                            const std::string& uri);
 
-    static void RestApiGet(Json::Value& result,
-                           IOrthancConnection& orthanc,
-                           const std::string& uri,
-                           const std::string& body);
+    static void RestApiPost(Json::Value& result,
+                            IOrthancConnection& orthanc,
+                            const std::string& uri,
+                            const std::string& body);
   };
 }