From c154f6378f4c0c1cd52c09a4734b7d3d02ff9c8e Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:04:23 +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 bf2bcbc0..06377fd0 100644 --- a/app/Jobs/DiscordAccountCheck.php +++ b/app/Jobs/DiscordAccountCheck.php @@ -340,7 +340,7 @@ public function handle() $discord->getClient()->patch('guilds/'.env('DISCORD_GUILD_ID').'/members/'.$user->discord_user_id, [ 'json' => [ 'nick' => $user->discord_username, - 'roles' => [1297422968472997908], + 'roles' => ['1297422968472997908'], ] ]); }