diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4b89da2..4a9624e 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,7 +1,6 @@ name: test on: - push - - pull_request - workflow_call jobs: diff --git a/providers/datatables_provider.ts b/providers/datatables_provider.ts index 3c8fb72..ae4c64f 100644 --- a/providers/datatables_provider.ts +++ b/providers/datatables_provider.ts @@ -15,7 +15,7 @@ export default class DatatablesProvider { * Register bindings to the container */ register() { - this.app.container.bind('datatables', () => { + this.app.container.singleton('datatables', () => { const engines: Record = this.app.config.get(`datatables.engines`) return new Datatables(engines)