dchester / epilogue

Create flexible REST endpoints and controllers from Sequelize models in your Express app
846 stars 116 forks source link

Fix hardcoded target primary key field name #123

Closed sdebionne closed 8 years ago

sdebionne commented 8 years ago

Use association.target.primaryKeyField to set the name of the target primary key field rather than 'id'.

mbroadst commented 8 years ago

LGTM thanks for contribution.