This commit is contained in:
lexx committed 2023-10-04 23:48:12 +03:00
1 parent 1ca5f4e521
commit 718cdb54f9
22 files changed
+262 -263

No files matched your search

+2 -2
View File
@@ -132,10 +132,10 @@ readonly class AuthService
/**
* @throws LucentException
*/
public function updateName(string $userId, string $name): void
public function updateName( string $name): void
{
$name = (new Name($name));
$this->userRepo->updateName($userId, $name);
$this->userRepo->updateName($this->currentUserId(), $name);
}