Skip to content

Commit

Permalink
fix: tokenId params to symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaber20110202 committed Jun 23, 2022
1 parent 5014e2d commit 9da4dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ export const getEverpayBalances = async (apiHost: string, {
}

export const getEverpayTransactions = async (apiHost: string, params: GetEverpayTransactionsParams): Promise<TxsResult> => {
const { account, page, tokenId, action, withoutAction } = params
const { account, page, symbol, action, withoutAction } = params
const baseUrl = account !== undefined ? `${apiHost}/txs/${account}` : `${apiHost}/txs`
const queryString = qsStringify({ page, tokenId, action, withoutAction }, { skipNull: true })
const queryString = qsStringify({ page, symbol, action, withoutAction }, { skipNull: true })
const result = await sendRequest({
...rConfig,
url: `${baseUrl}${queryString !== '' ? `?${queryString}` : ''}`,
Expand Down

0 comments on commit 9da4dbf

Please sign in to comment.