lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
7312a4df49
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 
   }
 }