Skip to content

Commit

Permalink
bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gogl92 committed Nov 22, 2017
1 parent 1fb0ca1 commit 8ab6748
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Facturacom33.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function createCliente($cliente)
$this->API_VERSION = 'api/v1';
$model = new Cliente();
$model->setAttributes($cliente->getAttributes());
if ($cliente->validate()) {
if ($model->validate()) {
try {
return $this->booleanResponse($this->sendRequest('post', 'clients/create', $model->getAttributes()));
} catch (\Exception $exception) {
Expand Down
1 change: 0 additions & 1 deletion src/models/Cliente.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public function rules()
[
'nombre',
'apellidos',
'email',
'rfc',
'razons',
'calle',
Expand Down

0 comments on commit 8ab6748

Please sign in to comment.