mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change variable id to code
This commit is contained in:
parent
5695427392
commit
283a9d751b
@ -70,14 +70,14 @@ export default {
|
|||||||
this.linkData.deletedAt = true
|
this.linkData.deletedAt = true
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
redeemLink(id, amount) {
|
redeemLink(amount) {
|
||||||
this.$bvModal.msgBoxConfirm(this.$t('gdd_per_link.redeem-text')).then(async (value) => {
|
this.$bvModal.msgBoxConfirm(this.$t('gdd_per_link.redeem-text')).then(async (value) => {
|
||||||
if (value)
|
if (value)
|
||||||
await this.$apollo
|
await this.$apollo
|
||||||
.mutate({
|
.mutate({
|
||||||
mutation: redeemTransactionLink,
|
mutation: redeemTransactionLink,
|
||||||
variables: {
|
variables: {
|
||||||
id: id,
|
code: this.$route.params.code,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user