Browse Source

update:key

gemercheung 2 năm trước cách đây
mục cha
commit
1148cc38ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/service/publishService.js

+ 1 - 1
src/service/publishService.js

@@ -34,7 +34,7 @@ const publishExitRoom = (userId, roomId) => {
   const payLoad = {
     userId,
     roomId,
-    type: 1,
+    type: -1,
     createTime: Date.now(),
   };
   pubClient.hSet(getInKey(onlineConfigKey), `${payLoad.createTime}`, JSON.stringify(payLoad));