cheny %!s(int64=5) %!d(string=hai) anos
pai
achega
445153b2ed
Modificáronse 1 ficheiros con 1 adicións e 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() {
   async getdock() {
     const res = await this.service.getdock(this.ctx.params);
     const res = await this.service.getdock(this.ctx.params);
-    this.ctx.ok({ ...res });
+    this.ctx.ok({ res });
   }
   }
 }
 }