Commit efbe3994 authored by Tina's avatar Tina Committed by GitHub

fix: catch RouterPreference.AUTO case for routing-api usage (#6572)

catch AUTO case for routing-api
parent 93fe8e43
......@@ -123,7 +123,7 @@ export const routingApi = createApi({
args
try {
if (routerPreference === RouterPreference.API) {
if (routerPreference === RouterPreference.API || routerPreference === RouterPreference.AUTO) {
const query = qs.stringify({
...API_QUERY_PARAMS,
tokenInAddress,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment