liuyu 4 năm trước cách đây
mục cha
commit
c95d6fe8f7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/service/room.js

+ 2 - 2
app/service/room.js

@@ -147,9 +147,9 @@ class RoomService extends CrudService {
           const parm = {
             durable: true,
             headers: {
-              userid: result.id,
+              userid: res.id,
             } };
-          await mq.fanout(exchange, result.id, JSON.stringify(result), parm);
+          await mq.fanout(exchange, res.id, JSON.stringify(res), parm);
         }
       }
     }