lrf402788946 4 năm trước cách đây
mục cha
commit
cb1b058c67
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/controller/questionnaire.js

+ 1 - 1
app/controller/questionnaire.js

@@ -50,7 +50,7 @@ class QuestionnaireController extends Controller {
 
   async export() {
     const res = await this.service.export(this.ctx.request.body);
-    this.ctx.ok(res);
+    this.ctx.ok({ data: res });
   }
 }