Update AdminInviteController

This commit is contained in:
Daniel Supernault 2023-01-21 08:20:36 -07:00
parent 0d549774f9
commit 39d683b9fe
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -167,6 +167,9 @@ class AdminInviteController extends Controller
'email' => $request->input('email'), 'email' => $request->input('email'),
'password' => Hash::make($request->input('password')), 'password' => Hash::make($request->input('password')),
]))); ])));
sleep(5);
$invite->used_by = array_merge($invite->used_by ?? [], [[ $invite->used_by = array_merge($invite->used_by ?? [], [[
'user_id' => $user->id, 'user_id' => $user->id,
'username' => $user->username 'username' => $user->username