소스 검색

update:key

gemercheung 2 년 전
부모
커밋
1148cc38ce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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));