# HG changeset patch # User Sebastien Jodogne # Date 1620642677 -7200 # Node ID b1d87d41874e279f9cb3ffbcf1cc39e1af86f72a # Parent 4e81412ead0a4c6d61b650f9bfc481389bfad64b typo: replaced "CheckRevision" by "CheckRevisions" diff -r 4e81412ead0a -r b1d87d41874e OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Fri May 07 12:46:06 2021 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Mon May 10 12:31:17 2021 +0200 @@ -1590,7 +1590,7 @@ .SetUriArgument("id", "Orthanc identifier of the " + r + " of interest") .SetUriArgument("name", "The name of the metadata, or its index (cf. `UserMetadata` configuration option)") .SetHttpHeader("If-Match", "Revision of the metadata, to check if its content has not changed and can " - "be deleted. This header is mandatory if `CheckRevision` option is `true`."); + "be deleted. This header is mandatory if `CheckRevisions` option is `true`."); return; } @@ -1615,7 +1615,7 @@ if (lock.GetConfiguration().GetBooleanParameter(CHECK_REVISIONS, false)) { throw OrthancException(ErrorCode_Revision, - "HTTP header \"If-Match\" is missing, as \"CheckRevision\" is \"true\""); + "HTTP header \"If-Match\" is missing, as \"CheckRevisions\" is \"true\""); } else { @@ -2135,7 +2135,7 @@ .SetUriArgument("id", "Orthanc identifier of the " + r + " of interest") .SetUriArgument("name", "The name of the attachment, or its index (cf. `UserContentType` configuration option)") .SetHttpHeader("If-Match", "Revision of the attachment, to check if its content has not changed and can " - "be deleted. This header is mandatory if `CheckRevision` option is `true`."); + "be deleted. This header is mandatory if `CheckRevisions` option is `true`."); return; } @@ -2183,7 +2183,7 @@ if (lock.GetConfiguration().GetBooleanParameter(CHECK_REVISIONS, false)) { throw OrthancException(ErrorCode_Revision, - "HTTP header \"If-Match\" is missing, as \"CheckRevision\" is \"true\""); + "HTTP header \"If-Match\" is missing, as \"CheckRevisions\" is \"true\""); } else {