Skip to content

Commit

Permalink
fix: test aggregator on stg
Browse files Browse the repository at this point in the history
  • Loading branch information
hanguyenk committed Mar 8, 2023
1 parent 8f98b96 commit fe992d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SwapForm/hooks/useBuildRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const useBuildRoute = (args: Args) => {
abortControllerRef.current.abort()
abortControllerRef.current = new AbortController()

const url = `${aggregatorDomain}/${NETWORKS_INFO[chainId].aggregatorRoute}/api/v1/route/build`
const url = `https://aggregator-api.stg.kyberengineering.io/${NETWORKS_INFO[chainId].aggregatorRoute}/api/v1/route/build`
const response = await buildRoute(url, payload, abortControllerRef.current.signal)

return {
Expand Down
2 changes: 1 addition & 1 deletion src/components/SwapForm/hooks/useGetRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const useGetRoute = (args: Args) => {
}
})

const url = `${aggregatorDomain}/${NETWORKS_INFO[chainId].aggregatorRoute}/api/v1/routes`
const url = `https://aggregator-api.stg.kyberengineering.io/${NETWORKS_INFO[chainId].aggregatorRoute}/api/v1/routes`

triggerDebounced({
url,
Expand Down

0 comments on commit fe992d2

Please sign in to comment.