diff --git a/admin/src/graphql/listContributionLinks.js b/admin/src/graphql/listContributionLinks.js index f04fdf2c6..7ce4b04e6 100644 --- a/admin/src/graphql/listContributionLinks.js +++ b/admin/src/graphql/listContributionLinks.js @@ -1,18 +1,23 @@ import gql from 'graphql-tag' export const listContributionLinks = gql` - query { - listContributionLinks { - id - validFrom - validTo - name - memo - amount - cycle - maxPerCycle - maxAmountPerMonth - link + query ($currentPage: Int = 1, $pageSize: Int = 25, $order: Order = DESC) { + listContributionLinks(currentPage: $currentPage, pageSize: $pageSize, order: $order) { + links { + id + amount + name + memo + code + link + createdAt + validFrom + validTo + maxAmountPerMonth + cycle + maxPerCycle + } + count } } `