guhongwei il y a 4 ans
Parent
commit
b72921cd62
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/service/dock.js

+ 1 - 1
app/service/dock.js

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