Set active to false by default when creating season
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
This commit is contained in:
@@ -28,6 +28,7 @@ class SeasonFactory
|
|||||||
{
|
{
|
||||||
$seasonEntity->setPointsPerLoss($seasonDto->pointsPerLoss);
|
$seasonEntity->setPointsPerLoss($seasonDto->pointsPerLoss);
|
||||||
}
|
}
|
||||||
|
$seasonEntity->setActive(false);
|
||||||
return $seasonEntity;
|
return $seasonEntity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user