mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove code from graphql query, just use code
This commit is contained in:
parent
f9efc3fa06
commit
febe57ce13
@ -75,7 +75,6 @@ export const sendCoins = gql`
|
|||||||
export const createTransactionLink = gql`
|
export const createTransactionLink = gql`
|
||||||
mutation($amount: Decimal!, $memo: String!) {
|
mutation($amount: Decimal!, $memo: String!) {
|
||||||
createTransactionLink(amount: $amount, memo: $memo) {
|
createTransactionLink(amount: $amount, memo: $memo) {
|
||||||
code
|
|
||||||
link
|
link
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -87,7 +87,6 @@ export default {
|
|||||||
errorResult: '',
|
errorResult: '',
|
||||||
currentTransactionStep: TRANSACTION_STEPS.transactionForm,
|
currentTransactionStep: TRANSACTION_STEPS.transactionForm,
|
||||||
loading: false,
|
loading: false,
|
||||||
code: null,
|
|
||||||
link: null,
|
link: null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -145,7 +144,6 @@ export default {
|
|||||||
})
|
})
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
this.$emit('set-tunneled-email', null)
|
this.$emit('set-tunneled-email', null)
|
||||||
this.code = result.data.createTransactionLink.code
|
|
||||||
this.link = result.data.createTransactionLink.link
|
this.link = result.data.createTransactionLink.link
|
||||||
this.transactionData = { ...EMPTY_TRANSACTION_DATA }
|
this.transactionData = { ...EMPTY_TRANSACTION_DATA }
|
||||||
this.currentTransactionStep = TRANSACTION_STEPS.transactionResultLink
|
this.currentTransactionStep = TRANSACTION_STEPS.transactionResultLink
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user