missing graphql changes

This commit is contained in:
Ulf Gebhardt 2023-02-14 21:29:14 +01:00
parent 66a5175dc1
commit 5bba531769
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
3 changed files with 6 additions and 6 deletions

View File

@ -9,8 +9,8 @@ const apolloQueryMock = jest.fn()
apolloQueryMock.mockResolvedValue({ apolloQueryMock.mockResolvedValue({
data: { data: {
listTransactionLinksAdmin: { listTransactionLinksAdmin: {
linkCount: 8, count: 8,
linkList: [ links: [
{ {
amount: '19.99', amount: '19.99',
code: '62ef8236ace7217fbd066c5a', code: '62ef8236ace7217fbd066c5a',

View File

@ -42,8 +42,8 @@ export default {
}, },
}) })
.then((result) => { .then((result) => {
this.rows = result.data.listTransactionLinksAdmin.linkCount this.rows = result.data.listTransactionLinksAdmin.count
this.items = result.data.listTransactionLinksAdmin.linkList this.items = result.data.listTransactionLinksAdmin.links
}) })
.catch((error) => { .catch((error) => {
this.toastError(error.message) this.toastError(error.message)

View File

@ -8,8 +8,8 @@ export const listTransactionLinksAdmin = gql`
userId: $userId userId: $userId
filters: { withRedeemed: true, withExpired: true, withDeleted: true } filters: { withRedeemed: true, withExpired: true, withDeleted: true }
) { ) {
linkCount count
linkList { links {
id id
amount amount
holdAvailableAmount holdAvailableAmount