fix: actually run destroyAll
:|
This commit is contained in:
parent
193aec9619
commit
dd0084277b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hapi-sequelize-crud",
|
"name": "hapi-sequelize-crud",
|
||||||
"version": "2.0.7",
|
"version": "2.0.8",
|
||||||
"description": "Hapi plugin that automatically generates RESTful API for CRUD",
|
"description": "Hapi plugin that automatically generates RESTful API for CRUD",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"config": {
|
"config": {
|
||||||
|
@ -13,6 +13,7 @@ export default (server, model, options) => {
|
|||||||
scope(server, model);
|
scope(server, model);
|
||||||
create(server, model);
|
create(server, model);
|
||||||
destroy(server, model);
|
destroy(server, model);
|
||||||
|
destroyAll(server, model);
|
||||||
destroyScope(server, model);
|
destroyScope(server, model);
|
||||||
update(server, model);
|
update(server, model);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user