liuyu hace 5 años
padre
commit
838197aab6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/controller/personchat.js

+ 1 - 1
app/controller/personchat.js

@@ -14,7 +14,7 @@ class PersonchatController extends Controller {
 
   async received() {
     await this.service.received(this.ctx.request.body);
-    this.ok({ });
+    this.ctx.ok({ });
   }
 }