From 3b9e3d416acf86b9f542ed9f8e9a030578fcbbaa Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Fri, 17 Apr 2020 11:08:03 +0200 Subject: [PATCH] fix --- lib/KnexCrudHandler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/KnexCrudHandler.ts b/lib/KnexCrudHandler.ts index 9602729..89585fb 100644 --- a/lib/KnexCrudHandler.ts +++ b/lib/KnexCrudHandler.ts @@ -12,11 +12,13 @@ export class KnexCrudHandler extends HttpHandler implements CrudHandler { protected knex: Knex; public constructor ( + knex: Knex, table: string, columns: Array, options: KnexCrudOptions = {} ) { super (); + this.knex = knex; this.table = table; this.columns = columns; this.options = options;