itizawa 6 лет назад
Родитель
Сommit
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) {
-      return res.json(ApiResponse.error('Only the creator can edit'));
+      return res.json(ApiResponse.error('Only the author can edit'));
     }
 
     // check whether accessible