diff --git a/app/Domains/Settings/ManageAddressTypes/Web/Controllers/PersonalizeAddressTypeController.php b/app/Domains/Settings/ManageAddressTypes/Web/Controllers/PersonalizeAddressTypeController.php index d75b9608a3b..cf3adb38c79 100644 --- a/app/Domains/Settings/ManageAddressTypes/Web/Controllers/PersonalizeAddressTypeController.php +++ b/app/Domains/Settings/ManageAddressTypes/Web/Controllers/PersonalizeAddressTypeController.php @@ -3,9 +3,9 @@ namespace App\Domains\Settings\ManageAddressTypes\Web\Controllers; use App\Domains\Settings\ManageAddressTypes\Services\CreateAddressType; +use App\Domains\Settings\ManageAddressTypes\Services\DestroyAddressType; use App\Domains\Settings\ManageAddressTypes\Services\UpdateAddressType; use App\Domains\Settings\ManageAddressTypes\Web\ViewHelpers\PersonalizeAddressTypeIndexViewHelper; -use App\Domains\Settings\ManagePronouns\Services\DestroyPronoun; use App\Domains\Vault\ManageVault\Web\ViewHelpers\VaultIndexViewHelper; use App\Http\Controllers\Controller; use Illuminate\Http\Request; @@ -61,7 +61,7 @@ public function destroy(Request $request, int $addressTypeId) 'address_type_id' => $addressTypeId, ]; - (new DestroyPronoun())->execute($data); + (new DestroyAddressType())->execute($data); return response()->json([ 'data' => true,