fix(primaryKey): use model.primaryKey instead of hardcoded id for id routes, fixes #9

This commit is contained in:
Mahdi Dibaiee
2016-07-13 11:26:46 +04:30
parent 29ee49fc62
commit 6c46ff68d0
5 changed files with 26 additions and 17 deletions

View File

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