Update UserController.php

This commit is contained in:
Julian Prieber 2023-03-28 16:02:36 +02:00
parent f0343e931d
commit 90e272d11a
1 changed files with 2 additions and 0 deletions

View File

@ -534,6 +534,8 @@ class UserController extends Controller
'Content-Disposition' => 'attachment; filename="contact.vcf"'
];
Link::where('id', $linkId)->increment('click_number', 1);
// Return the file download response
return response()->make($file_contents, 200, $headers);