fix: comment edit not updating original content (#5646)
This commit is contained in:
		| @@ -126,6 +126,7 @@ module.exports = { | ||||
|   async update ({ id, content, user }) { | ||||
|     const renderedContent = DOMPurify.sanitize(mkdown.render(content)) | ||||
|     await WIKI.models.comments.query().findById(id).patch({ | ||||
|       content, | ||||
|       render: renderedContent | ||||
|     }) | ||||
|     return renderedContent | ||||
|   | ||||
		Reference in New Issue
	
	Block a user