summaryrefslogtreecommitdiff
path: root/lib/db/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-07-02 06:29:58 +0200
committerJules Laplace <julescarbon@gmail.com>2017-07-02 06:29:58 +0200
commitbe26f182ccdff4f96c52d419deebee4aff055e18 (patch)
tree227399a1a20de01e00d1a524be0c3875a2defcca /lib/db/index.js
parent22735b5dcb3503b5575d77bb066159f623e60f9e (diff)
worker in own process
Diffstat (limited to 'lib/db/index.js')
-rw-r--r--lib/db/index.js2
1 files changed, 1 insertions, 1 deletions
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) => {