fix: 🚑️ ChargeServer Command

This commit is contained in:
IceToast 2022-06-16 19:03:59 +02:00 committed by IceToast
parent 2e6c03e3cc
commit 907fb74734
No known key found for this signature in database
GPG key ID: 1464353E063A5B97

View file

@ -65,7 +65,7 @@ class ChargeServers extends Command
$newBillingDate = Carbon::parse($server->last_billed)->addMonth();
break;
case 'weekly':
$newBillingDate = Carbon::parse($server->last_billed)->addYear();
$newBillingDate = Carbon::parse($server->last_billed)->addWeek();
break;
case 'daily':
$newBillingDate = Carbon::parse($server->last_billed)->addDay();