Skip to content

Commit

Permalink
refactor/added the locale guard for all resourceDocs endpoints-typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hongwei1 committed Nov 13, 2023
1 parent de51b8e commit d585494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obp-api/src/main/scala/code/api/util/APIUtil.scala
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{
if(value.equalsIgnoreCase("es_Es")|| value.equalsIgnoreCase("en_GB"))
SILENCE_IS_GOLDEN
else
ErrorMessages.ConsumerKeyIsInvalid
ErrorMessages.InvalidLocale
}

/** only A-Z, a-z, 0-9, all allowed characters for password and max length <= 512 */
Expand Down

0 comments on commit d585494

Please sign in to comment.