fix page export (#1081)

This commit is contained in:
Philip Okugbe 2025-04-24 23:18:54 +01:00 committed by GitHub
parent 31e5c0c660
commit 7993532111
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -244,7 +244,7 @@ export class PageRepo {
'p.spaceId',
'p.workspaceId',
])
.$if(opts?.includeContent, (qb) => qb.select('content'))
.$if(opts?.includeContent, (qb) => qb.select('p.content'))
.innerJoin('page_hierarchy as ph', 'p.parentPageId', 'ph.id'),
),
)