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