changeset 6197:89088d8d0c2a attach-custom-data

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 13 Jun 2025 13:23:09 +0200
parents a5208163307b
children 3d0b6bca6f2e
files OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp	Fri Jun 13 13:14:41 2025 +0200
+++ b/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp	Fri Jun 13 13:23:09 2025 +0200
@@ -348,7 +348,7 @@
                                const std::string& uuid,
                                FileContentType type)
   {
-    std::unique_ptr<IMemoryBuffer> buffer(Read(uuid, type));
+    std::unique_ptr<IMemoryBuffer> buffer(ReadWhole(uuid, type));
     buffer->MoveToString(content);
   }
 #endif