changeset 5763:1b0e67be3c15 find-refactoring

fix
author Alain Mazy <am@orthanc.team>
date Fri, 06 Sep 2024 16:51:44 +0200
parents d52b3f394f69
children db4bd2f9e8d2 247fc5368693
files OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp	Fri Sep 06 16:04:18 2024 +0200
+++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp	Fri Sep 06 16:51:44 2024 +0200
@@ -644,12 +644,12 @@
       request.mutable_get_changes_extended()->set_change_type(changeType);
       ExecuteTransaction(response, DatabasePluginMessages::OPERATION_GET_CHANGES_EXTENDED, request);
 
-      done = response.get_changes().done();
+      done = response.get_changes_extended().done();
 
       target.clear();
-      for (int i = 0; i < response.get_changes().changes().size(); i++)
+      for (int i = 0; i < response.get_changes_extended().changes().size(); i++)
       {
-        target.push_back(Convert(response.get_changes().changes(i)));
+        target.push_back(Convert(response.get_changes_extended().changes(i)));
       }
     }