diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 3402cdc..dad25ac 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -3,6 +3,9 @@ on: branches: - main +permissions: + contents: read + jobs: Generate-Changelog: runs-on: ubuntu-latest diff --git a/src/index.ts b/src/index.ts index 2ad7f21..f87c3f3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,7 +43,7 @@ if (!await knex.schema.hasTable('db_table_versions')) { } // get request handler const handle = new Handle(modules) -handle.init(modules, knex) +await handle.init(modules, knex) // set up logging const log = new Log(config.logging)