Skip to content

Commit

Permalink
Fix issue with deleting site where branch argument was still refere…
Browse files Browse the repository at this point in the history
…nced
  • Loading branch information
owenconti committed Jan 11, 2024
1 parent b267c27 commit 4ea0047
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Commands/DeleteSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected function getDatabase(): Database

$databases = collect($this->forge->databases($this->forgeServerId));

return $databases->first(fn (Database $database) => $database->name === $this->argument('branch'));
return $databases->first(fn (Database $database) => $database->name === $this->argument('subdomain'));
}

protected function deleteSite(): void
Expand Down
Binary file modified builds/forge-review-apps
Binary file not shown.

0 comments on commit 4ea0047

Please sign in to comment.