Mercurial > hg > orthanc
diff OrthancServer/ServerJobs/MergeStudyJob.cpp @ 3920:82e88ff003d7 c-get
merge default -> c-get
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 12 May 2020 14:58:24 +0200 |
parents | 023b2a9f3aa1 |
children | 3661e2a72482 |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/MergeStudyJob.cpp Tue May 12 07:50:38 2020 +0200 +++ b/OrthancServer/ServerJobs/MergeStudyJob.cpp Tue May 12 14:58:24 2020 +0200 @@ -145,7 +145,8 @@ toStore.SetParsedDicomFile(*modified); std::string modifiedInstance; - if (context_.Store(modifiedInstance, toStore) != StoreStatus_Success) + if (context_.Store(modifiedInstance, toStore, + StoreInstanceMode_Default) != StoreStatus_Success) { LOG(ERROR) << "Error while storing a modified instance " << instance; return false;