liuyu преди 5 години
родител
ревизия
838197aab6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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({ });
   }
 }