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));