2
0
shinoka7 7 жил өмнө
parent
commit
8cc9320f31

+ 1 - 1
src/server/models/comment.js

@@ -80,7 +80,7 @@ module.exports = function(crowi) {
 
   commentSchema.methods.removeWithReplies = async function() {
     const Comment = crowi.model('Comment');
-    return await Comment.remove({
+    return Comment.remove({
       $or: (
         [{ replyTo: this._id }, { _id: this._id }]),
     });