reloaded 5 yıl önce
ebeveyn
işleme
46de355ab1
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 });
   }