From 824049ea4584fbd511502d6c745c140e7a632a37 Mon Sep 17 00:00:00 2001 From: Jonas Hendrickx Date: Thu, 10 Oct 2024 10:59:31 +0200 Subject: [PATCH] rename --- .../{BillingController.cs => TaxController.cs} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename src/Api/Billing/Controllers/{BillingController.cs => TaxController.cs} (90%) diff --git a/src/Api/Billing/Controllers/BillingController.cs b/src/Api/Billing/Controllers/TaxController.cs similarity index 90% rename from src/Api/Billing/Controllers/BillingController.cs rename to src/Api/Billing/Controllers/TaxController.cs index b19c779d2..bb947535e 100644 --- a/src/Api/Billing/Controllers/BillingController.cs +++ b/src/Api/Billing/Controllers/TaxController.cs @@ -6,14 +6,14 @@ using Microsoft.AspNetCore.Mvc; namespace Bit.Api.Billing.Controllers; -[Route("billing")] +[Route("tax")] [Authorize("Application")] -public class BillingController( +public class TaxController( IStripeAdapter stripeAdapter) : Controller { [HttpPost] - [Route("calculate-tax")] - public async Task CalculateTaxAsync([FromBody] CalculateTaxRequestModel requestBody) + [Route("calculate")] + public async Task CalculateAsync([FromBody] CalculateTaxRequestModel requestBody) { var options = new Stripe.Tax.CalculationCreateOptions {