Browse Source

fix: 🚑️ ChargeServer Command

IceToast 3 years ago
parent
commit
570b0b014f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/ChargeServers.php

+ 1 - 1
app/Console/Commands/ChargeServers.php

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