Skip to content

Commit

Permalink
add protocols param to quote endpoint (#2774)
Browse files Browse the repository at this point in the history
* add protocols param to quote endpoint

* Fix code style issues with ESLint

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
  • Loading branch information
Justin Domingue and lint-action committed Nov 11, 2021
1 parent cb41df4 commit 0ea029d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/routing/slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const routingApi = createApi({
type: 'exactIn' | 'exactOut'
}
>({
query: (args) => `quote?${qs.stringify(args)}`,
query: (args) => `quote?${qs.stringify({ ...args, protocols: 'v3' })}`,
}),
}),
})
Expand Down

2 comments on commit 0ea029d

@vercel
Copy link

@vercel vercel bot commented on 0ea029d Nov 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

interface – ./

interface-uniswap.vercel.app
interface-git-main-uniswap.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0ea029d Nov 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

widgets – ./

widgets-git-main-uniswap.vercel.app
widgets-uniswap.vercel.app

Please sign in to comment.