Closed alexanmtz closed 10 months ago
Update attributes is deprecated from Sequelize, so all occurrences of updateAttributes in the model objects is not working anymore and can cause breaking in the system.
updateAttributes
We need to replace all the occurrences to use the right way, which is:
models.ModelName.update(attribures, {where: { id: modelInstance.id }});
Fixed in several commits
Update attributes is deprecated from Sequelize, so all occurrences of
updateAttributes
in the model objects is not working anymore and can cause breaking in the system.We need to replace all the occurrences to use the right way, which is: