Skip to content

Commit

Permalink
Merge pull request #234 from CirclesUBI/update-get-all-tokens
Browse files Browse the repository at this point in the history
include order response and not include null
  • Loading branch information
JacqueGM authored Sep 26, 2023
2 parents b2a8374 + 04c1630 commit 576c83a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,12 @@ export default function createUtilsModule(web3, contracts, globalOptions) {
{
query: `{
safe(id: "${safeAddress.toLowerCase()}") {
balances(first: 1000) {
balances(
first: 1000
orderBy: amount
orderDirection: desc
where: {amount_not: "0"} )
{
token {
id
owner {
Expand Down

0 comments on commit 576c83a

Please sign in to comment.