Update UserController.php

This commit is contained in:
Julian Prieber 2024-06-25 14:10:11 +02:00
parent e977f0d63b
commit 83d95f0775
1 changed files with 2 additions and 0 deletions

View File

@ -979,6 +979,8 @@ class UserController extends Controller
$newLink->up_link = $linkData['up_link'];
$newLink->custom_css = $linkData['custom_css'];
$newLink->custom_icon = $linkData['custom_icon'];
$newLink->type = $linkData['type'];
$newLink->type_params = $linkData['type_params'];
// Set the user ID to the current user's ID
$newLink->user_id = $user->id;