refactor: use request input (#3303)

This commit is contained in:
Alexis Saettler
2019-12-15 22:05:01 +01:00
committed by GitHub
parent 9562f196a6
commit 63c2005ab0
29 changed files with 158 additions and 152 deletions
@@ -44,7 +44,7 @@ class NotesController extends Controller
{
return $contact->notes()->create([
'account_id' => auth()->user()->account_id,
'body' => $request->get('body'),
'body' => $request->input('body'),
]);
}