liuyu 5 lat temu
rodzic
commit
429c24ee67
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/service/roomchat.js

+ 1 - 1
app/service/roomchat.js

@@ -28,7 +28,7 @@ class RoomchatService extends CrudService {
         headers: {
           number,
         } };
-      await mq.topic(exchange, number, JSON.stringify(res), parm);
+      await mq.fanout(exchange, number, JSON.stringify(res), parm);
     }
     return res;
   }