mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 22:11:09 +10: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