guhongwei 4 éve
szülő
commit
8d681957ea
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/service/dock.js

+ 1 - 1
app/service/dock.js

@@ -281,7 +281,7 @@ class ChatService extends CrudService {
         const parm = {
         const parm = {
           durable: true,
           durable: true,
         };
         };
-        await mq.fanout(exchange, id, toString(data.videodata), parm);
+        await mq.fanout(exchange, id, JSON.stringify(data.videodata), parm);
       }
       }
     }
     }
     const res = await this.model.update({ _id: ObjectId(id) }, data);
     const res = await this.model.update({ _id: ObjectId(id) }, data);