Mercurial > hg > orthanc
changeset 5637:7043e646fc0d
fix: reuse constant
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 22 May 2024 15:43:06 +0200 |
parents | 6ad8e2afd4fb |
children | 4535194cbb8a |
files | OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Wed May 22 15:39:05 2024 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Wed May 22 15:43:06 2024 +0200 @@ -116,9 +116,9 @@ "modality (check configuration option `DicomModalities` for possible values", false) .SetRequestField("UseDicomTls", RestApiCallDocumentation::Type_Boolean, "Whether to use DICOM TLS " "in the SCU connection initiated by Orthanc (new in Orthanc 1.9.0)", false) - .SetRequestField("LocalAet", RestApiCallDocumentation::Type_String, "Whether to override the default DicomAet " + .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String, "Whether to override the default DicomAet " "in the SCU connection initiated by Orthanc to this modality", false) - .SetRequestField("Timeout", RestApiCallDocumentation::Type_Number, "Whether to override the default DicomScuTimeout " + .SetRequestField(KEY_TIMEOUT, RestApiCallDocumentation::Type_Number, "Whether to override the default DicomScuTimeout " "in the SCU connection initiated by Orthanc to this modality", false); if (includePermissions)