mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
missing graphql changes
This commit is contained in:
parent
66a5175dc1
commit
5bba531769
@ -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',
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user