From d4f212d19bca6880b477a17306580ece23020362 Mon Sep 17 00:00:00 2001 From: deadit Date: Tue, 5 Mar 2024 12:03:46 +0300 Subject: [PATCH] update parameter in requests --- src/hooks/useGoldBank.ts | 2 +- src/hooks/useGoldBuyback.ts | 2 +- src/hooks/useGoldMintArbitrage.ts | 2 +- src/hooks/useGoldMintFree.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hooks/useGoldBank.ts b/src/hooks/useGoldBank.ts index dd10cf1..2ff0bac 100644 --- a/src/hooks/useGoldBank.ts +++ b/src/hooks/useGoldBank.ts @@ -6,7 +6,7 @@ import { useAxios } from '../utils/axios'; export const useGoldBank = () => { const [requestState, runRequest] = useAxios( { - url: `${applicationConfig.dexybankUrl}/gold/bank?unconfirmed=1`, + url: `${applicationConfig.dexybankUrl}/gold/bank?ui=1`, method: 'GET', }, { useCache: false }, diff --git a/src/hooks/useGoldBuyback.ts b/src/hooks/useGoldBuyback.ts index c1912eb..6852092 100644 --- a/src/hooks/useGoldBuyback.ts +++ b/src/hooks/useGoldBuyback.ts @@ -6,7 +6,7 @@ import { useAxios } from '../utils/axios'; export const useGoldBuyback = () => { const [requestState, runRequest] = useAxios( { - url: `${applicationConfig.dexybankUrl}/gold/buyback?unconfirmed=1`, + url: `${applicationConfig.dexybankUrl}/gold/buyback?ui=1`, method: 'GET', }, { useCache: false }, diff --git a/src/hooks/useGoldMintArbitrage.ts b/src/hooks/useGoldMintArbitrage.ts index 7f66c50..0a0786b 100644 --- a/src/hooks/useGoldMintArbitrage.ts +++ b/src/hooks/useGoldMintArbitrage.ts @@ -6,7 +6,7 @@ import { useAxios } from '../utils/axios'; export const useGoldMintArbitrage = () => { const [requestState, runRequest] = useAxios( { - url: `${applicationConfig.dexybankUrl}/gold/mint/arbitrage?unconfirmed=1`, + url: `${applicationConfig.dexybankUrl}/gold/mint/arbitrage?ui=1`, method: 'GET', }, { useCache: false }, diff --git a/src/hooks/useGoldMintFree.ts b/src/hooks/useGoldMintFree.ts index ec93944..10cf484 100644 --- a/src/hooks/useGoldMintFree.ts +++ b/src/hooks/useGoldMintFree.ts @@ -6,7 +6,7 @@ import { useAxios } from '../utils/axios'; export const useGoldMintFree = () => { const [requestState, runRequest] = useAxios( { - url: `${applicationConfig.dexybankUrl}/gold/mint/free?unconfirmed=1`, + url: `${applicationConfig.dexybankUrl}/gold/mint/free?ui=1`, method: 'GET', }, { useCache: false },