itizawa пре 6 година
родитељ
комит
8ed0a38b71
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/server/routes/comment.js

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

@@ -172,7 +172,7 @@ module.exports = function(crowi, app) {
     }
     }
 
 
     if (creatorId !== req.user.id) {
     if (creatorId !== req.user.id) {
-      return res.json(ApiResponse.error('Only the creator can edit'));
+      return res.json(ApiResponse.error('Only the author can edit'));
     }
     }
 
 
     // check whether accessible
     // check whether accessible