gemercheung 3 years ago
parent
commit
11ce0971da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/controller/room/assistant.js

+ 1 - 1
src/controller/room/assistant.js

@@ -281,7 +281,7 @@ export class RoomAssistant {
         const hasDuplicateUser = await this.getOpenidInRoom(roomId, user.oid);
         console.log("hasDuplicateUser-1", hasDuplicateUser);
         if (hasDuplicateUser && hasDuplicateUser.length > 0) {
-          this.logger.info("hasDuplicateUser-2", hasDuplicateUser);
+          this.room.logger.info("hasDuplicateUser-2", hasDuplicateUser);
           const removeAll = [];
           Array.from(hasDuplicateUser).forEach((duplicateUser) => {
             removeAll.push(removeRoomUser(roomId, duplicateUser.userId));