gemercheung 3 سال پیش
والد
کامیت
a20632eb1e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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) {