SoftwareBrothers / adminjs-sequelizejs

Sequelizejs adapter for AdminBro
MIT License
27 stars 34 forks source link

fix: Model Instance Update should have hooks: true #99

Closed domingo2000 closed 2 years ago

domingo2000 commented 2 years ago

Currently if you have some getter in the model, sequelize will use that getter to set the value in the databse, because the option hooks in the update method of the model instance is set to false

This pull request correct this behaviour and sets that option to true

Fix: https://github.com/SoftwareBrothers/adminjs/issues/1039

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.1.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: