fix createApp() fn doesn't require config, fix admin controller main entry

This commit is contained in:
dswbx
2024-12-10 08:44:50 +01:00
parent 86a7bee3d9
commit 847b08b505
2 changed files with 12 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ export class App<DB = any> {
}
}
export function createApp(config: CreateAppConfig) {
export function createApp(config: CreateAppConfig = {}) {
let connection: Connection | undefined = undefined;
try {