fix: subscriptions

This commit is contained in:
Andras Bacsai committed 2023-08-30 18:23:55 +02:00
1 parent 5b6667c461
commit 923af88336
20 files changed
+147 -69

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class CleanupInstanceStuffsJob implements ShouldQueue, ShouldBeUnique
private function cleanup_waitlist()
{
$waitlist = Waitlist::whereVerified(false)->where('created_at', '<', now()->subMinutes(config('constants.waitlist.confirmation_valid_for_minutes')))->get();
$waitlist = Waitlist::whereVerified(false)->where('created_at', '<', now()->subMinutes(config('constants.waitlist.expiration')))->get();
foreach ($waitlist as $item) {
$item->delete();
}