From 4226bc553e846c05ebb7b1c404da218c11b37fcd Mon Sep 17 00:00:00 2001 From: tijsziere <39266480+tijsziere@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:42:39 +0100 Subject: [PATCH] exception: map fspName to programFinancialServiceProviderConfigurationName --- routes/routes121.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/routes121.py b/routes/routes121.py index f6fbd27..663066f 100644 --- a/routes/routes121.py +++ b/routes/routes121.py @@ -72,6 +72,8 @@ async def kobo_to_121(request: Request, dependencies=Depends(required_headers_12 payload[target_field] = int(kobo_data[kobo_field]) elif target_field == "scope": payload[target_field] = clean_text(kobo_data[kobo_field]) + elif target_field == "fspName": + payload["programFinancialServiceProviderConfigurationName"] = kobo_data[kobo_field] elif kobo_value_url not in attachments.keys(): payload[target_field] = kobo_data[kobo_field] else: