@@ -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;