From caeaa2fb539bbfd2669af43c0d05c0d6efd84b71 Mon Sep 17 00:00:00 2001 From: "Joao Victor G. Rodrigues" Date: Mon, 16 Dec 2024 15:35:12 -0400 Subject: [PATCH] add entity language (#7552) --- app/api/csv/importEntity.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/csv/importEntity.ts b/app/api/csv/importEntity.ts index 428789eb05..6e3ad9742e 100644 --- a/app/api/csv/importEntity.ts +++ b/app/api/csv/importEntity.ts @@ -61,6 +61,7 @@ const entityObject = async ( template: TemplateSchema, { language, dateFormat = 'YYYY/MM/DD' }: Options ) => ({ + language, title: titleByTemplate(template, toImportEntity), template: template._id, metadata: await toMetadata(template, toImportEntity, dateFormat),