Add acceptable languages from request to variable

This commit is contained in:
Chris Eager 2021-09-14 08:56:21 -07:00 committed by Chris Eager
parent 6fcadc2297
commit 5f8accb492
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ public class ProfileController {
}
final List<Locale> acceptableLanguages = new ArrayList<>();
try {
containerRequestContext.getAcceptableLanguages();
acceptableLanguages.addAll(containerRequestContext.getAcceptableLanguages());
} catch (final ProcessingException e) {
logger.warn("Could not get acceptable languages", e);
}