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

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

@@ -278,7 +278,7 @@ export class RoomAssistant {
    */
   async startCall(roomId, userId, user) {
     try {
-      const res = this.checkRoomMaximum(roomId);
+      const res = await this.checkRoomMaximum(roomId);
       console.log("checkRoomMaximum:", res);
       if (!res.isMax) {
         if (user.oid) {