remove code from graphql query, just use code

This commit is contained in:
Ulf Gebhardt 2022-04-21 13:28:21 +02:00
parent f9efc3fa06
commit febe57ce13
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 0 additions and 3 deletions

View File

@ -75,7 +75,6 @@ export const sendCoins = gql`
export const createTransactionLink = gql`
mutation($amount: Decimal!, $memo: String!) {
createTransactionLink(amount: $amount, memo: $memo) {
code
link
}
}

View File

@ -87,7 +87,6 @@ export default {
errorResult: '',
currentTransactionStep: TRANSACTION_STEPS.transactionForm,
loading: false,
code: null,
link: null,
}
},
@ -145,7 +144,6 @@ export default {
})
.then((result) => {
this.$emit('set-tunneled-email', null)
this.code = result.data.createTransactionLink.code
this.link = result.data.createTransactionLink.link
this.transactionData = { ...EMPTY_TRANSACTION_DATA }
this.currentTransactionStep = TRANSACTION_STEPS.transactionResultLink