mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Working on API
This commit is contained in:
parent
f7da00ff27
commit
aa4aae4797
@ -152,7 +152,7 @@ class AccountApiController extends BaseAPIController
|
|||||||
$account->devices = json_encode($devices);
|
$account->devices = json_encode($devices);
|
||||||
$account->save();
|
$account->save();
|
||||||
|
|
||||||
return $this->response($account);
|
return $this->response($newDevice);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ class AccountApiController extends BaseAPIController
|
|||||||
$account->devices = json_encode($devices);
|
$account->devices = json_encode($devices);
|
||||||
$account->save();
|
$account->save();
|
||||||
|
|
||||||
return $this->response($account);
|
return $this->response($newDevice);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user