From 8e79be49e807b6fe7a0ca5192a39372b2887ff3b Mon Sep 17 00:00:00 2001 From: Jonas Hendrickx Date: Tue, 19 Nov 2024 13:52:16 +0100 Subject: [PATCH] r --- src/Api/Billing/Controllers/StripeController.cs | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/Api/Billing/Controllers/StripeController.cs b/src/Api/Billing/Controllers/StripeController.cs index 4c5ad6f0f..a4a974bb9 100644 --- a/src/Api/Billing/Controllers/StripeController.cs +++ b/src/Api/Billing/Controllers/StripeController.cs @@ -1,6 +1,4 @@ -using Bit.Api.Billing.Models.Responses; -using Bit.Core.Billing.Services; -using Bit.Core.Services; +using Bit.Core.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http.HttpResults; using Microsoft.AspNetCore.Mvc; @@ -10,8 +8,7 @@ namespace Bit.Api.Billing.Controllers; [Authorize("Application")] public class StripeController( - IStripeAdapter stripeAdapter, - ITaxService taxService) : Controller + IStripeAdapter stripeAdapter) : Controller { [HttpPost] [Route("~/setup-intent/bank-account")] @@ -49,13 +46,4 @@ public class StripeController( return TypedResults.Ok(setupIntent.ClientSecret); } - - [HttpGet] - [AllowAnonymous] - [Route("~/tax/id-types")] - public IResult GetTaxIdTypes() - { - var response = TaxIdTypesResponse.From(taxService.GetTaxIdTypes()); - return TypedResults.Ok(response); - } }