reloaded il y a 5 ans
Parent
commit
46de355ab1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
     this.service = this.ctx.service.comment;
   }
   }
 
 
-  async show() {
+  async index() {
     const res = await this.service.query(this.ctx.query);
     const res = await this.service.query(this.ctx.query);
     this.ctx.ok({ ...res });
     this.ctx.ok({ ...res });
   }
   }