Update Domains.php
This commit is contained in:
parent
d688244664
commit
5530f7263f
@ -191,6 +191,7 @@ public function deleteDomains(Request $request)
|
||||
$domainsToDelete = $request->domains;
|
||||
$updatedDomains = array_diff($existingDomains, $domainsToDelete);
|
||||
$application->fqdn = implode(',', $updatedDomains);
|
||||
$application->custom_labels = base64_encode(implode("\n ", generateLabelsApplication($application)));
|
||||
$application->save();
|
||||
return response()->json([
|
||||
'success' => true,
|
||||
|
Loading…
Reference in New Issue
Block a user