Skip to content

Commit

Permalink
Merge pull request #1741 from sushi-labs/swap-api-referrer
Browse files Browse the repository at this point in the history
chore(apps/web): add referrer to swap api
  • Loading branch information
LufyCZ authored Oct 30, 2024
2 parents 1199ac9 + a10d338 commit 09ba5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/lib/hooks/react-query/trade/useTrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const useTradeQuery = (
],
queryFn: async () => {
const params = new URL(`${API_BASE_URL}/swap/v5/${chainId}`)
// params.searchParams.set('chainId', `${chainId}`)
params.searchParams.set('referrer', 'sushi')
params.searchParams.set(
'tokenIn',
`${
Expand Down

0 comments on commit 09ba5fc

Please sign in to comment.