1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on API

This commit is contained in:
David Bomba 2016-03-01 21:31:23 +11:00
parent f7da00ff27
commit aa4aae4797

View File

@ -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);
}
}