We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fa51fb commit baf1307Copy full SHA for baf1307
1 file changed
lib/models/note.js
@@ -154,7 +154,7 @@ module.exports = function (sequelize, DataTypes) {
154
authorship = Note.updateAuthorshipByOperation(operations[i], null, authorship)
155
}
156
note.update({
157
- authorship: JSON.stringify(authorship)
+ authorship: authorship
158
}).then(function (note) {
159
return callback(null, note.id)
160
}).catch(function (err) {
0 commit comments