chore: remove access of eager load object if not needed (#3639)

This commit is contained in:
Alexis Saettler
2020-03-04 22:25:24 +01:00
committed by GitHub
parent 7974b334d9
commit 87bb435ab0
155 changed files with 794 additions and 787 deletions
@@ -30,7 +30,7 @@ class ComplianceController extends Controller
public function store(Request $request)
{
app(AcceptPolicy::class)->execute([
'account_id' => auth()->user()->account->id,
'account_id' => auth()->user()->account_id,
'user_id' => auth()->user()->id,
'ip_address' => \Request::ip(),
]);