Skip to content

Commit

Permalink
remove exception for 121
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsziere committed Dec 16, 2024
1 parent dede429 commit 387c580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/routes121.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ 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" and "nlrc.121.global" not in request.headers["url121"]:
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]
Expand Down

0 comments on commit 387c580

Please sign in to comment.