From be26f182ccdff4f96c52d419deebee4aff055e18 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 2 Jul 2017 06:29:58 +0200 Subject: worker in own process --- lib/db/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/db/index.js') diff --git a/lib/db/index.js b/lib/db/index.js index a74ba89..2e63f74 100644 --- a/lib/db/index.js +++ b/lib/db/index.js @@ -21,7 +21,7 @@ var Task = db.Task = bookshelf.Model.extend({ hasTimestamps: true, }) -db.crud = function(type, model) { +db.crud = function(model) { return { index: (q) => { return model.query( (qb) => { -- cgit v1.2.3-70-g09d2