Merge branch 'develop' of https://github.com/turbo124/invoiceninja into develop
This commit is contained in:
commit
3c813138fa
1 changed files with 2 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ class AccountApiController extends BaseAPIController
|
|||
$account->devices = json_encode($devices);
|
||||
$account->save();
|
||||
|
||||
return $this->response($account);
|
||||
return $this->response($newDevice);
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -185,7 +185,7 @@ class AccountApiController extends BaseAPIController
|
|||
$account->devices = json_encode($devices);
|
||||
$account->save();
|
||||
|
||||
return $this->response($account);
|
||||
return $this->response($newDevice);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue