lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
cb1b058c67
Modificáronse 1 ficheiros con 1 adicións e 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 });
   }
 }