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({
|
export async function getUserOrders({
|
||||||
limit,
|
limit,
|
||||||
offset,
|
offset,
|
||||||
filterInfo: { status, type, date },
|
filterInfo: { pairId, status, type, date },
|
||||||
}: GetUserOrdersData): Promise<ErrorRes | GetUserOrdersRes> {
|
}: GetUserOrdersData): Promise<ErrorRes | GetUserOrdersRes> {
|
||||||
return axios
|
return axios
|
||||||
.patch('/api/orders/get', {
|
.patch('/api/orders/get', {
|
||||||
|
|
@ -262,6 +262,7 @@ export async function getUserOrders({
|
||||||
limit,
|
limit,
|
||||||
offset,
|
offset,
|
||||||
filterInfo: {
|
filterInfo: {
|
||||||
|
pairId,
|
||||||
status,
|
status,
|
||||||
type,
|
type,
|
||||||
date: date
|
date: date
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue