fix: fix pair filter
This commit is contained in:
parent
5fdfe59737
commit
e9ad4f04a5
1 changed files with 2 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ export async function getUserOrdersPage(pairId: string): Promise<ErrorRes | GetU
|
|||
export async function getUserOrders({
|
||||
limit,
|
||||
offset,
|
||||
filterInfo: { status, type, date },
|
||||
filterInfo: { pairId, status, type, date },
|
||||
}: GetUserOrdersData): Promise<ErrorRes | GetUserOrdersRes> {
|
||||
return axios
|
||||
.patch('/api/orders/get', {
|
||||
|
|
@ -262,6 +262,7 @@ export async function getUserOrders({
|
|||
limit,
|
||||
offset,
|
||||
filterInfo: {
|
||||
pairId,
|
||||
status,
|
||||
type,
|
||||
date: date
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue