fix: rewrite OAuth login controller (#2014)
This commit is contained in:
@@ -39,7 +39,7 @@ class IntroductionsController extends Controller
|
||||
Contact::where('account_id', auth()->user()->account_id)
|
||||
->findOrFail($request->get('metThroughId'));
|
||||
} catch (ModelNotFoundException $e) {
|
||||
return $this->handleModelNotFound($e);
|
||||
return $this->respondNotFound();
|
||||
}
|
||||
|
||||
$contact->first_met_through_contact_id = $request->get('metThroughId');
|
||||
|
||||
Reference in New Issue
Block a user