mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 04:15:55 +00:00
chore: prepare for PR
This commit is contained in:
1 parent
d9cdbc6096
commit
5cac559602
4 files changed
+88
-3
No files matched your search
@@ -130,7 +130,9 @@ class Show extends Component
|
||||
private function updateOrCreateVariables($variables)
|
||||
{
|
||||
$count = 0;
|
||||
foreach ($variables as $key => $value) {
|
||||
foreach ($variables as $key => $data) {
|
||||
$value = is_array($data) ? ($data['value'] ?? '') : $data;
|
||||
|
||||
$found = $this->project->environment_variables()->where('key', $key)->first();
|
||||
|
||||
if ($found) {
|
||||
|
||||
Reference in new issue
Block a user