lrf402788946 %!s(int64=5) %!d(string=hai) anos
pai
achega
d75e6f68bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/chat.js

+ 1 - 1
app/service/chat.js

@@ -25,7 +25,7 @@ class ChatService extends CrudService {
         headers: {
           userid: 1,
         } };
-      await mq.topic(exchange, '1', res.data, parm);
+      await mq.topic(exchange, '1', JSON.stringify(res), parm);
     }
     return res;
   }