reloaded 5 năm trước cách đây
mục cha
commit
46de355ab1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/controller/comment.js

+ 1 - 1
app/controller/comment.js

@@ -12,7 +12,7 @@ class CommentController extends Controller {
     this.service = this.ctx.service.comment;
   }
 
-  async show() {
+  async index() {
     const res = await this.service.query(this.ctx.query);
     this.ctx.ok({ ...res });
   }