liuyu 5 gadi atpakaļ
vecāks
revīzija
838197aab6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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({ });
   }
 }