From 2cbb6cee525c0d2513f30035043d45c1c67033ab Mon Sep 17 00:00:00 2001 From: aalicic Date: Tue, 1 Nov 2022 07:27:29 +0100 Subject: [PATCH] VIC-1917: tenantId in agency search --- .../caritas/cob/agencyservice/api/service/AgencyService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/caritas/cob/agencyservice/api/service/AgencyService.java b/src/main/java/de/caritas/cob/agencyservice/api/service/AgencyService.java index 0a8086ee..56158cc1 100644 --- a/src/main/java/de/caritas/cob/agencyservice/api/service/AgencyService.java +++ b/src/main/java/de/caritas/cob/agencyservice/api/service/AgencyService.java @@ -299,7 +299,8 @@ private FullAgencyResponseDTO convertToFullAgencyResponseDTO(Agency agency) { .consultingType(agency.getConsultingTypeId()) .url(agency.getUrl()) .external(agency.isExternal()) - .demographics(getDemographics(agency)); + .demographics(getDemographics(agency)) + .tenantId(agency.getTenantId()); } private DemographicsDTO getDemographics(Agency agency) {