chore: Update command signature and description for cleanup application deployment queue

This commit is contained in:
Andras Bacsai
2024-10-02 09:21:50 +02:00
parent a530804a71
commit bbd2748ad7
2 changed files with 3 additions and 3 deletions

View File

@@ -7,9 +7,9 @@ use Illuminate\Console\Command;
class CleanupApplicationDeploymentQueue extends Command class CleanupApplicationDeploymentQueue extends Command
{ {
protected $signature = 'cleanup:application-deployment-queue {--team-id=}'; protected $signature = 'cleanup:deployment-queue {--team-id=}';
protected $description = 'CleanupApplicationDeploymentQueue'; protected $description = 'Cleanup application deployment queue.';
public function handle() public function handle()
{ {

View File

@@ -30,7 +30,7 @@ class Dashboard extends Component
public function cleanup_queue() public function cleanup_queue()
{ {
Artisan::queue('cleanup:application-deployment-queue', [ Artisan::queue('cleanup:deployment-queue', [
'--team-id' => currentTeam()->id, '--team-id' => currentTeam()->id,
]); ]);
} }