Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
This commit is contained in:
parent
11fd3953ca
commit
58eb6141a8
|
|
@ -85,6 +85,7 @@ class HandleCreateSeason
|
||||||
$teamDto->name = $teamEntity->getName();
|
$teamDto->name = $teamEntity->getName();
|
||||||
$teamDto->active = true;
|
$teamDto->active = true;
|
||||||
$teamEntity->setActive(true);
|
$teamEntity->setActive(true);
|
||||||
|
$this->entityManager->persist($seasonEntity);
|
||||||
$this->entityManager->persist($teamEntity);
|
$this->entityManager->persist($teamEntity);
|
||||||
$this->entityManager->flush();
|
$this->entityManager->flush();
|
||||||
$teamDto->id = $teamEntity->getId();
|
$teamDto->id = $teamEntity->getId();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue