This commit is contained in:
2023-10-04 23:48:12 +03:00
parent 1ca5f4e521
commit 718cdb54f9
22 changed files with 262 additions and 263 deletions
+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);
}