Skip to content

Commit

Permalink
🐛 Fix delete address type
Browse files Browse the repository at this point in the history
  • Loading branch information
yogesh16 committed Sep 20, 2024
1 parent c900b4a commit 1ae07c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1ae07c1

Please sign in to comment.