mirror of
https://github.com/anonaddy/anonaddy
synced 2026-05-02 04:17:24 +02:00
Updated Rules
This commit is contained in:
@@ -41,7 +41,7 @@ class EmailUsersWithTokenExpiringSoon extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
User::with(['defaultUsername', 'defaultRecipient'])
|
||||
User::with(['defaultUsername', 'defaultRecipient', 'tokens'])
|
||||
->whereHas('tokens', function ($query) {
|
||||
$query->whereDate('expires_at', now()->addWeek());
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user