mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Fix update doc from filesystem cause redundant authorship stringify
This commit is contained in:
parent
2fa51fb4ba
commit
baf13072c1
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||
authorship = Note.updateAuthorshipByOperation(operations[i], null, authorship)
|
||||
}
|
||||
note.update({
|
||||
authorship: JSON.stringify(authorship)
|
||||
authorship: authorship
|
||||
}).then(function (note) {
|
||||
return callback(null, note.id)
|
||||
}).catch(function (err) {
|
||||
|
|
Loading…
Reference in a new issue