From 130ad47748d88b5a6606341d98d7635f571800e7 Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:49:56 +1000 Subject: [PATCH] Update DiscordAccountCheck.php --- app/Jobs/DiscordAccountCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/DiscordAccountCheck.php b/app/Jobs/DiscordAccountCheck.php index 2bef897f..cd0f64ca 100644 --- a/app/Jobs/DiscordAccountCheck.php +++ b/app/Jobs/DiscordAccountCheck.php @@ -243,7 +243,7 @@ public function handle() $discord->getClient()->patch('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$user->discord_user_id, [ 'json' => [ 'nick' => $name, - 'roles' => $discord_roles, + 'roles' => $rolesToAdd, ] ]);