Skip to content

Commit

Permalink
fix: lower case address
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Aug 29, 2023
1 parent 492f323 commit d3aa9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/limitOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const limitOrderApi = createApi({
url: `${LIMIT_ORDER_API_READ}/v1/configs/contract-address`,
params: { chainId },
}),
transformResponse: (data: any) => data?.data?.latest ?? '',
transformResponse: (data: any) => data?.data?.latest?.toLowerCase?.() ?? '',
}),
getListOrders: builder.query<
{ orders: LimitOrder[]; totalOrder: number },
Expand Down

0 comments on commit d3aa9ba

Please sign in to comment.