Skip to content

Commit

Permalink
add entity language (#7552)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao-vi authored Dec 16, 2024
1 parent 26e5a6c commit caeaa2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/csv/importEntity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit caeaa2f

Please sign in to comment.