Skip to content

Commit c05fe29

Browse files
committed
Link directly to comment with workaround.
1 parent 649bda5 commit c05fe29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/models/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const sequelize = new Sequelize(database, username, password, {
1616
});
1717

1818
// Add a permanent global hook to prevent unknowingly hitting this Sequelize bug:
19-
// https://github.com/sequelize/sequelize/issues/10557
19+
// https://github.com/sequelize/sequelize/issues/10557#issuecomment-481399247
2020
sequelize.addHook('beforeCount', function (options) {
2121
/* eslint-disable no-underscore-dangle, no-param-reassign */
2222
if (this._scope.include && this._scope.include.length > 0) {

0 commit comments

Comments
 (0)