Skip to content

Commit

Permalink
fix: fix contacts not being displayed (monicahq/chandler#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed Apr 9, 2023
1 parent b97fd8d commit f7e8101
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -24,7 +24,7 @@ class ContactController extends Controller
{
public function index(Request $request, Vault $vault)
{
$contacts = Contact::where('vault_id', $request->route()->parameter('vault'))
$contacts = Contact::where('vault_id', $vault->id)
->where('listed', true)
->orderBy('created_at', 'asc')
->paginate(25);
Expand Down

0 comments on commit f7e8101

Please sign in to comment.