cheny hace 4 años
padre
commit
445153b2ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/controller/dock.js

+ 1 - 1
app/controller/dock.js

@@ -30,7 +30,7 @@ class DockController extends Controller {
   }
   async getdock() {
     const res = await this.service.getdock(this.ctx.params);
-    this.ctx.ok({ ...res });
+    this.ctx.ok({ res });
   }
 }