From 1b481a9500afb5c47f93ca92b7b3c47d592f644c Mon Sep 17 00:00:00 2001 From: Paul Trudel Date: Thu, 18 Apr 2024 15:29:34 -0400 Subject: [PATCH] Changed content type validation error key and message --- .../api/model/constraint/ContentTypeConstraint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbb-common-web/src/main/java/org/bigbluebutton/api/model/constraint/ContentTypeConstraint.java b/bbb-common-web/src/main/java/org/bigbluebutton/api/model/constraint/ContentTypeConstraint.java index ff80a83a40..5eacf925c9 100644 --- a/bbb-common-web/src/main/java/org/bigbluebutton/api/model/constraint/ContentTypeConstraint.java +++ b/bbb-common-web/src/main/java/org/bigbluebutton/api/model/constraint/ContentTypeConstraint.java @@ -15,8 +15,8 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) public @interface ContentTypeConstraint { - String key() default "contentTypeError"; - String message() default "Request content type is not supported or no Content-Type header was specified"; + String key() default "unsupportedContentType"; + String message() default "POST request Content-Type is missing or unsupported"; Class[] groups() default {}; Class[] payload() default {}; }