fix: Fix contacts account mismatch (#1625)

This commit is contained in:
Alexis Saettler
2018-08-01 23:28:05 +02:00
committed by GitHub
parent cd4ce7e547
commit 1c70d4ef24
46 changed files with 231 additions and 200 deletions
@@ -43,7 +43,7 @@ class NotesController extends Controller
public function store(NotesRequest $request, Contact $contact)
{
$note = $contact->notes()->create([
'account_id' => auth()->user()->account->id,
'account_id' => auth()->user()->account_id,
'body' => $request->get('body'),
]);