changeset 4661:b1d87d41874e

typo: replaced "CheckRevision" by "CheckRevisions"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 May 2021 12:31:17 +0200
parents 4e81412ead0a
children 3badc205cb4c
files OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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
         {