Refactoring

* replace TypeORM with Kysely query builder
* refactor migrations
* other changes and fixes
This commit is contained in:
Philipinho
2024-03-29 01:46:11 +00:00
parent cacb5606b1
commit c18c9ae02b
122 changed files with 2619 additions and 3541 deletions

View File

@ -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.');