We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cbe638 commit bc74c1fCopy full SHA for bc74c1f
1 file changed
lib/models/note.js
@@ -142,7 +142,7 @@ module.exports = function (sequelize, DataTypes) {
142
authorship = Note.updateAuthorshipByOperation(operations[i], null, authorship);
143
}
144
note.update({
145
- authorship: authorship
+ authorship: LZString.compressToBase64(JSON.stringify(authorship))
146
}).then(function (note) {
147
return callback(null, note.id);
148
}).catch(function (err) {
0 commit comments