Skip to content

Commit 44fd0a6

Browse files
committed
Fix typo
1 parent b5d3570 commit 44fd0a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/models/revision.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = function (sequelize, DataTypes) {
3434
}, {
3535
classMethods: {
3636
associate: function (models) {
37-
Revision.belongsTo(models.User, {
37+
Revision.belongsTo(models.Note, {
3838
foreignKey: "noteId",
3939
as: "note",
4040
constraints: false

0 commit comments

Comments
 (0)