From 85f5b22bce802669e376abe5ea22a6a5edf951ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Wed, 30 Apr 2025 14:25:19 +0200 Subject: [PATCH] feature/Remove combinedServiceIndicator from Get Consent Response BG endpoint --- .../api/berlin/group/v1_3/JSONFactory_BERLIN_GROUP_1_3.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obp-api/src/main/scala/code/api/berlin/group/v1_3/JSONFactory_BERLIN_GROUP_1_3.scala b/obp-api/src/main/scala/code/api/berlin/group/v1_3/JSONFactory_BERLIN_GROUP_1_3.scala index c8eb32a96..203f8cf6b 100644 --- a/obp-api/src/main/scala/code/api/berlin/group/v1_3/JSONFactory_BERLIN_GROUP_1_3.scala +++ b/obp-api/src/main/scala/code/api/berlin/group/v1_3/JSONFactory_BERLIN_GROUP_1_3.scala @@ -259,7 +259,7 @@ object JSONFactory_BERLIN_GROUP_1_3 extends CustomJsonFormats with MdcLoggable{ recurringIndicator: Boolean, validUntil: String, frequencyPerDay: Int, - combinedServiceIndicator: Boolean, + combinedServiceIndicator: Option[Boolean], lastActionDate: String, consentStatus: String ) @@ -626,7 +626,7 @@ object JSONFactory_BERLIN_GROUP_1_3 extends CustomJsonFormats with MdcLoggable{ recurringIndicator = createdConsent.recurringIndicator, validUntil = if(createdConsent.validUntil == null) null else new SimpleDateFormat(DateWithDay).format(createdConsent.validUntil), frequencyPerDay = createdConsent.frequencyPerDay, - combinedServiceIndicator= createdConsent.combinedServiceIndicator, + combinedServiceIndicator = None, lastActionDate = if(createdConsent.lastActionDate == null) null else new SimpleDateFormat(DateWithDay).format(createdConsent.lastActionDate), consentStatus = createdConsent.status.toLowerCase() )