Skip to content

Commit

Permalink
resolved the calculate-vat branch. 500 server error solve
Browse files Browse the repository at this point in the history
  • Loading branch information
idiotcommerce committed Jul 12, 2023
1 parent 8ae3de4 commit 23375c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,9 @@ def asdcr(
description="Calculate VAT for both excluding and including amounts",
)
async def calculate_vat(price: float, vat_rate: float):
return calculate_vat_task(price, vat_rate)
calculate_vat_price = await calculate_vat_task(price, vat_rate)
return calculate_vat_price



# Endpoint For calculating bond equivalent yield
Expand Down

0 comments on commit 23375c2

Please sign in to comment.