itizawa 6 lat temu
rodzic
commit
8ed0a38b71
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {
-      return res.json(ApiResponse.error('Only the creator can edit'));
+      return res.json(ApiResponse.error('Only the author can edit'));
     }
 
     // check whether accessible