From 5d4cf7dfecc4a4f245174296e084841ca40e9d89 Mon Sep 17 00:00:00 2001 From: Jacopo Margutti Date: Sat, 19 Oct 2024 16:28:43 +0100 Subject: [PATCH] bug fix related entity --- routes/routesEspo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/routesEspo.py b/routes/routesEspo.py index b15c10d..c8fea2e 100644 --- a/routes/routesEspo.py +++ b/routes/routesEspo.py @@ -111,7 +111,7 @@ async def kobo_to_espocrm( elif len(target_field.split(".")) == 3: target_entity = target_field.split(".")[0] linked_field = target_field.split(".")[1] - related_entity = linked_field.capitalize() + related_entity = linked_field[0].upper() + linked_field[1:] related_entity_field = target_field.split(".")[2] related = True else: