From febe57ce13d08291dfa43683c75bba0789c71a61 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 21 Apr 2022 13:28:21 +0200 Subject: [PATCH] remove code from graphql query, just use code --- frontend/src/graphql/mutations.js | 1 - frontend/src/pages/Send.vue | 2 -- 2 files changed, 3 deletions(-) diff --git a/frontend/src/graphql/mutations.js b/frontend/src/graphql/mutations.js index 754d8930a..672af5f04 100644 --- a/frontend/src/graphql/mutations.js +++ b/frontend/src/graphql/mutations.js @@ -75,7 +75,6 @@ export const sendCoins = gql` export const createTransactionLink = gql` mutation($amount: Decimal!, $memo: String!) { createTransactionLink(amount: $amount, memo: $memo) { - code link } } diff --git a/frontend/src/pages/Send.vue b/frontend/src/pages/Send.vue index 533678a6e..cd5f8f572 100644 --- a/frontend/src/pages/Send.vue +++ b/frontend/src/pages/Send.vue @@ -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