reloaded 5 년 전
부모
커밋
46de355ab1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 });
   }