resolve merge conflict

This commit is contained in:
Andras Bacsai committed 2025-11-18 14:54:17 +01:00
1 parent 329708791e
commit acfee7d9f3
2 files changed
+6 -8

No files matched your search

@@ -622,6 +622,7 @@ class General extends Component
public function updatedBuildPack()
{
$originalBuildPack = $this->application->getOriginal('build_pack');
// Check if user has permission to update
try {
$this->authorize('update', $this->application);
+5 -8
View File
@@ -188,16 +188,13 @@ class Application extends BaseModel
// Remove SERVICE_FQDN_* and SERVICE_URL_* environment variables
$application->environment_variables()
->where(function ($q) {
$q->where('key', 'LIKE', 'SERVICE_FQDN_%')
->orWhere('key', 'LIKE', 'SERVICE_URL_%');
})
->where('key', 'LIKE', 'SERVICE_FQDN_%')
->orWhere('key', 'LIKE', 'SERVICE_URL_%')
->delete();
$application->environment_variables_preview()
->where(function ($q) {
$q->where('key', 'LIKE', 'SERVICE_FQDN_%')
->orWhere('key', 'LIKE', 'SERVICE_URL_%');
})
->where('key', 'LIKE', 'SERVICE_FQDN_%')
->orWhere('key', 'LIKE', 'SERVICE_URL_%')
->delete();
}