diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts index de4138accf..4b6e57014e 100644 --- a/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts +++ b/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts @@ -458,7 +458,8 @@ export class ExportService { case UITypes.LastModifiedBy: if (v) { const userIds = []; - for (const user of v as { id: string }[]) { + const userRecord = Array.isArray(v) ? v : [v]; + for (const user of userRecord) { userIds.push(user.id); } row[colId] = userIds.join(',');