fix: importing csv file ignores fields and status always true

This commit is contained in:
hexastack 2025-04-07 11:53:39 +01:00
parent beca726551
commit 3153ab09cb

View File

@ -145,7 +145,7 @@ export class ContentService extends BaseService<
...acc,
{
title: String(title),
status: Boolean(status),
status: status.trim().toLowerCase() === 'true',
entity: targetContentType,
dynamicFields: Object.keys(rest)
.filter((key) =>