Skip to content

Commit

Permalink
add entity language
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao-vi committed Dec 16, 2024
1 parent 26e5a6c commit bda5ef7
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 bda5ef7

Please sign in to comment.