static
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user