feathers-sequelize
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -44,2 +44,10 @@ 'use strict'; | ||
if (!options) { | ||
throw new Error('Sequelize options have to be provided'); | ||
} | ||
if (!options.Model) { | ||
throw new Error('You must provide a Sequelize Model'); | ||
} | ||
this.paginate = options.paginate || {}; | ||
@@ -46,0 +54,0 @@ this.Model = options.Model; |
{ | ||
"name": "feathers-sequelize", | ||
"description": "A service adapter for Sequelize an SQL ORM", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"homepage": "https://github.com/feathersjs/feathers-sequelize", | ||
@@ -6,0 +6,0 @@ "main": "lib/", |
Sorry, the diff of this file is not supported yet
28079
12
261