From 5758e7af43d5f1727ee31281cf7152d7fb950e63 Mon Sep 17 00:00:00 2001 From: Daniel Guzman Date: Mon, 3 Jun 2024 00:01:43 +0200 Subject: [PATCH] Set active to false by default when creating season --- src/Service/Season/SeasonFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Service/Season/SeasonFactory.php b/src/Service/Season/SeasonFactory.php index 16739a07..427f5c73 100644 --- a/src/Service/Season/SeasonFactory.php +++ b/src/Service/Season/SeasonFactory.php @@ -28,6 +28,7 @@ class SeasonFactory { $seasonEntity->setPointsPerLoss($seasonDto->pointsPerLoss); } + $seasonEntity->setActive(false); return $seasonEntity; } } \ No newline at end of file