diff --git a/src/main/java/de/caritas/cob/userservice/api/admin/service/consultant/ConsultantResponseDTOBuilder.java b/src/main/java/de/caritas/cob/userservice/api/admin/service/consultant/ConsultantResponseDTOBuilder.java index b06eae41c..ee2087dbb 100644 --- a/src/main/java/de/caritas/cob/userservice/api/admin/service/consultant/ConsultantResponseDTOBuilder.java +++ b/src/main/java/de/caritas/cob/userservice/api/admin/service/consultant/ConsultantResponseDTOBuilder.java @@ -68,7 +68,8 @@ private ConsultantDTO buildConsultantDTO(Consultant consultant) { .createDate(String.valueOf(consultant.getCreateDate())) .updateDate(String.valueOf(consultant.getUpdateDate())) .deleteDate(String.valueOf(consultant.getDeleteDate())) - .status(String.valueOf(consultant.getStatus())); + .status(String.valueOf(consultant.getStatus())) + .tenantId(consultant.getTenantId() != null ? consultant.getTenantId().intValue() : null); } private HalLink buildSelfLink() {