mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
rename
This commit is contained in:
parent
7691159e68
commit
824049ea45
@ -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<IResult> CalculateTaxAsync([FromBody] CalculateTaxRequestModel requestBody)
|
||||
[Route("calculate")]
|
||||
public async Task<IResult> CalculateAsync([FromBody] CalculateTaxRequestModel requestBody)
|
||||
{
|
||||
var options = new Stripe.Tax.CalculationCreateOptions
|
||||
{
|
Loading…
Reference in New Issue
Block a user