Mercurial > hg > orthanc
diff OrthancServer/Sources/LuaScripting.cpp @ 4507:b4c58795f3a8
widening the use of DicomTransferSyntax enum
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Feb 2021 09:33:48 +0100 |
parents | 6831de40acd9 |
children | 350a22c094f2 c8f444e8556d |
line wrap: on
line diff
--- a/OrthancServer/Sources/LuaScripting.cpp Wed Feb 10 17:01:44 2021 +0100 +++ b/OrthancServer/Sources/LuaScripting.cpp Thu Feb 11 09:33:48 2021 +0100 @@ -879,10 +879,10 @@ Json::Value info = Json::objectValue; info["HasPixelData"] = instance.HasPixelData(); - std::string s; + DicomTransferSyntax s; if (instance.LookupTransferSyntax(s)) { - info["TransferSyntaxUID"] = s; + info["TransferSyntaxUID"] = GetTransferSyntaxUid(s); } call.PushJson(info);