lrf402788946 hace 4 años
padre
commit
cb1b058c67
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 });
   }
 }