diff options
Diffstat (limited to 'lib/db/index.js')
| -rw-r--r-- | lib/db/index.js | 2 |
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) => { |
