validated(); $data = $repository->update($user, $params); return RowResource::make($data); } }