Skip to content

Commit

Permalink
Update: Only use query params
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKhalili committed Nov 4, 2024
1 parent e12b7a5 commit 85b6c2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/api/asset_liability.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def _get_asset_liability_matrix(
}


@router.get("/matrix/{mode}/{perp_market_index}")
@router.get("/matrix")
async def get_asset_liability_matrix(
request: BackendRequest, mode: int, perp_market_index: int
):
Expand Down
2 changes: 1 addition & 1 deletion backend/api/liquidation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
router = APIRouter()


@router.get("/liquidation-curve/{market_index}")
@router.get("/liquidation-curve")
def get_liquidation_curve(request: BackendRequest, market_index: int):
vat: Vat = request.state.backend_state.vat
liquidations_long: list[tuple[float, float]] = []
Expand Down

0 comments on commit 85b6c2b

Please sign in to comment.