From a814ec3613f91a305096f2100770de06d29342a8 Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:45:10 +1000 Subject: [PATCH 1/2] Update User.php --- app/Models/Users/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Users/User.php b/app/Models/Users/User.php index 8659a05f..8237fc7a 100644 --- a/app/Models/Users/User.php +++ b/app/Models/Users/User.php @@ -129,7 +129,7 @@ class User extends Authenticatable 'id', 'fname', 'lname', 'email', 'rating_id', 'rating_short', 'rating_long', 'rating_GRP', 'reg_date', 'region_code', 'region_name', 'division_code', 'division_name', 'subdivision_code', 'subdivision_name', 'permissions', 'init', 'gdpr_subscribed_emails', 'avatar', 'bio', 'display_cid_only', 'display_fname', 'display_last_name', - 'discord_user_id', 'discord_dm_channel_id', 'avatar_mode', 'used_connect', + 'discord_user_id', 'member_of_czqo', 'discord_username', 'discord_dm_channel_id', 'avatar_mode', 'used_connect', ]; /** From a861f0f75df6b5e9cfe22dd5cfb7633f4810f7ad Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:49:02 +1000 Subject: [PATCH 2/2] Updates --- app/Console/Kernel.php | 2 +- app/Models/Users/User.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 3e7b8b6e..e95d10ee 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -43,7 +43,7 @@ protected function schedule(Schedule $schedule) $schedule->job(new ProcessSessionLogging())->everyMinute(); //Inactivity checks - $schedule->job(new DiscordAccountCheck())->dailyAt('10:40'); + $schedule->job(new DiscordAccountCheck())->dailyAt('10:50'); //Inactivity checks $schedule->job(new ProcessRosterInactivity())->daily(); diff --git a/app/Models/Users/User.php b/app/Models/Users/User.php index 8237fc7a..efafb22b 100644 --- a/app/Models/Users/User.php +++ b/app/Models/Users/User.php @@ -128,8 +128,9 @@ class User extends Authenticatable protected $fillable = [ 'id', 'fname', 'lname', 'email', 'rating_id', 'rating_short', 'rating_long', 'rating_GRP', 'reg_date', 'region_code', 'region_name', 'division_code', 'division_name', - 'subdivision_code', 'subdivision_name', 'permissions', 'init', 'gdpr_subscribed_emails', 'avatar', 'bio', 'display_cid_only', 'display_fname', 'display_last_name', - 'discord_user_id', 'member_of_czqo', 'discord_username', 'discord_dm_channel_id', 'avatar_mode', 'used_connect', + 'subdivision_code', 'subdivision_name', 'permissions', 'init', 'gdpr_subscribed_emails', 'avatar', + 'bio', 'display_cid_only', 'display_fname', 'display_last_name', 'discord_user_id', 'member_of_czqo', + 'discord_username', 'discord_avatar', 'discord_dm_channel_id', 'avatar_mode', 'used_connect', ]; /**