From b113a885b3cda6450f3c8558f7b224004adfbda3 Mon Sep 17 00:00:00 2001 From: Pyry Koivisto Date: Fri, 1 Nov 2024 11:35:12 +0200 Subject: [PATCH] VKT(Backend): Return examiner's nickname instead of multiple first names for public listing --- .../src/main/java/fi/oph/vkt/service/PublicExaminerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/vkt/src/main/java/fi/oph/vkt/service/PublicExaminerService.java b/backend/vkt/src/main/java/fi/oph/vkt/service/PublicExaminerService.java index bd423c1a4..640d205c1 100644 --- a/backend/vkt/src/main/java/fi/oph/vkt/service/PublicExaminerService.java +++ b/backend/vkt/src/main/java/fi/oph/vkt/service/PublicExaminerService.java @@ -45,7 +45,7 @@ private static PublicExaminerDTO toPublicExaminerDTO(Examiner examiner) { .builder() .id(examiner.getId()) .lastName(examiner.getLastName()) - .firstName(examiner.getFirstName()) + .firstName(examiner.getNickname()) .languages(languages) .municipalities( examiner