Skip to content

Commit

Permalink
exception: map fspName to programFinancialServiceProviderConfiguratio…
Browse files Browse the repository at this point in the history
…nName
  • Loading branch information
tijsziere committed Nov 26, 2024
1 parent 2c1f218 commit 4226bc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routes/routes121.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4226bc5

Please sign in to comment.