mirror of https://github.com/status-im/codimd.git
Fix typo
This commit is contained in:
parent
b5d3570b1a
commit
44fd0a617b
|
@ -34,7 +34,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||
}, {
|
||||
classMethods: {
|
||||
associate: function (models) {
|
||||
Revision.belongsTo(models.User, {
|
||||
Revision.belongsTo(models.Note, {
|
||||
foreignKey: "noteId",
|
||||
as: "note",
|
||||
constraints: false
|
||||
|
|
Loading…
Reference in New Issue