fix: actually run destroyAll :|

This commit is contained in:
Mahdi Dibaiee 2016-05-07 10:41:30 +04:30
parent 193aec9619
commit dd0084277b
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "hapi-sequelize-crud",
"version": "2.0.7",
"version": "2.0.8",
"description": "Hapi plugin that automatically generates RESTful API for CRUD",
"main": "build/index.js",
"config": {

View File

@ -13,6 +13,7 @@ export default (server, model, options) => {
scope(server, model);
create(server, model);
destroy(server, model);
destroyAll(server, model);
destroyScope(server, model);
update(server, model);
}