mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
Refactoring
* replace TypeORM with Kysely query builder * refactor migrations * other changes and fixes
This commit is contained in:
@@ -21,7 +21,7 @@ export class PersistenceExtension implements Extension {
|
||||
return;
|
||||
}
|
||||
|
||||
const page = await this.pageService.findWithAllFields(pageId);
|
||||
const page = await this.pageService.findById(pageId, true, true);
|
||||
|
||||
if (!page) {
|
||||
console.log('page does not exist.');
|
||||
|
||||
Reference in New Issue
Block a user