This commit is contained in:
Yuri Kuznetsov
2024-11-09 23:24:40 +02:00
parent f6abfdc322
commit 664c5b0137
59 changed files with 185 additions and 180 deletions
@@ -61,7 +61,7 @@ class SmsService
$this->checkAllowed();
/** @var ?User $user */
$user = $this->entityManager->getEntity(User::ENTITY_TYPE, $userId);
$user = $this->entityManager->getEntityById(User::ENTITY_TYPE, $userId);
if (!$user) {
throw new NotFound();