mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
Fix typo
This commit is contained in:
parent
b5d3570b1a
commit
44fd0a617b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue