lrf402788946 hace 5 años
padre
commit
d75e6f68bc
Se han modificado 1 ficheros con 1 adiciones y 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;
   }