Expand services.

This commit is contained in:
James Cole
2018-02-21 18:42:15 +01:00
parent 9f37bf5875
commit 81221038f0
10 changed files with 111 additions and 33 deletions

View File

@@ -80,7 +80,7 @@ class AccountController extends Controller
*/
public function delete(Account $account)
{
$this->repository->destroy($account, new Account);
$this->repository->destroy($account, null);
return response()->json([], 204);
}