From 16161d793b2b4e4a6efd940adde20e56ab6d6b80 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 27 Apr 2026 01:21:07 +0100 Subject: [PATCH] refactor(base): rename baseId to pageId in csv-export and page-resolver services --- .../src/core/base/services/base-csv-export.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/server/src/core/base/services/base-csv-export.service.ts b/apps/server/src/core/base/services/base-csv-export.service.ts index 4b1a9d5b0..02da65fae 100644 --- a/apps/server/src/core/base/services/base-csv-export.service.ts +++ b/apps/server/src/core/base/services/base-csv-export.service.ts @@ -40,9 +40,9 @@ export class BaseCsvExportService { throw new NotFoundException('Base not found'); } - const properties = await this.basePropertyRepo.findByBaseId(baseId); + const properties = await this.basePropertyRepo.findByPageId(baseId); - const fileName = sanitize(base.name || 'base') + '.csv'; + const fileName = sanitize(base.title || 'base') + '.csv'; const stringifier = stringify({ header: true, @@ -85,7 +85,7 @@ export class BaseCsvExportService { }); try { - for await (const chunk of this.baseRowRepo.streamByBaseId(baseId, { + for await (const chunk of this.baseRowRepo.streamByPageId(baseId, { workspaceId, chunkSize: CHUNK_SIZE, })) {