Skip to content

Commit

Permalink
refactor: send sets of addresses and chain ids to endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
gleiser-oliveira committed Dec 16, 2024
1 parent e7b6cad commit 18c430e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const getDomainNameFromApi = async ({
endpoint: '/web3-domain-name',
method: 'GET',
params: {
addresses: JSON.stringify(addresses),
chainIds: JSON.stringify(chainIds),
addresses: JSON.stringify([...new Set(addresses)]),
chainIds: JSON.stringify([...new Set(chainIds)]),
},
});

Expand Down

0 comments on commit 18c430e

Please sign in to comment.