Code cleanup to use new findCountWhere function
This commit is contained in:
parent
c1a078bdcf
commit
4da7922de6
4 changed files with 9 additions and 10 deletions
|
@ -68,8 +68,6 @@ class UpdateService
|
|||
$data['password'] = $this->hasher->make($data['password']);
|
||||
}
|
||||
|
||||
$user = $this->repository->update($id, $data);
|
||||
|
||||
return $user;
|
||||
return $this->repository->update($id, $data);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue