fix: connector creation

This commit is contained in:
Maël Gangloff
2024-08-06 00:35:05 +02:00
parent 6f3c780e42
commit da1ae4cb8e
4 changed files with 41 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ class ConnectorController extends AbstractController
'username' => $user->getUserIdentifier(),
]);
$connector->setCreatedAt(new \DateTimeImmutable('now'));
$this->em->persist($connector);
$this->em->flush();