lrf 2 년 전
부모
커밋
7312a4df49
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/matchTeamGroup.js

+ 1 - 1
app/service/matchTeamGroup.js

@@ -193,7 +193,7 @@ class MatchTeamGroupService extends CrudService {
    */
   async canOpera(match_id) {
     const num = await this.matchModel.count({ _id: match_id, status: [ '1', '2' ] });
-    return num <= 0;
+    return num > 0;
 
   }
 }