# HG changeset patch # User Alain Mazy # Date 1716385386 -7200 # Node ID 7043e646fc0db7fafd164207425586da9e13560c # Parent 6ad8e2afd4fb1d147f710b283c957c47c041de06 fix: reuse constant diff -r 6ad8e2afd4fb -r 7043e646fc0d OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp --- 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)