fix: deploy key + docker compose

This commit is contained in:
Andras Bacsai
2023-12-30 14:20:02 +01:00
parent a2c7e8d455
commit 54671354f0
2 changed files with 12 additions and 6 deletions

View File

@@ -55,7 +55,11 @@ class GithubPrivateRepositoryDeployKey extends Component
}
$this->parameters = get_route_parameters();
$this->query = request()->query();
$this->private_keys = PrivateKey::where('team_id', currentTeam()->id)->where('id', '!=', 0)->get();
if (isDev()) {
$this->private_keys = PrivateKey::where('team_id', currentTeam()->id)->get();
} else {
$this->private_keys = PrivateKey::where('team_id', currentTeam()->id)->where('id', '!=', 0)->get();
}
}
public function instantSave()