mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Mutation to call generateLink written in frontend.
This commit is contained in:
parent
c38c5c3243
commit
d99dc6d20a
@ -61,3 +61,19 @@ export const sendCoins = gql`
|
|||||||
sendCoins(email: $email, amount: $amount, memo: $memo)
|
sendCoins(email: $email, amount: $amount, memo: $memo)
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
export const createTransactionLink = gql`
|
||||||
|
mutation($amount: Decimal!, $memo: String!) {
|
||||||
|
createTransactionLink(amount: $amount, memo: $memo) {
|
||||||
|
code
|
||||||
|
id
|
||||||
|
validUntil
|
||||||
|
user {
|
||||||
|
email
|
||||||
|
}
|
||||||
|
memo
|
||||||
|
createdAt
|
||||||
|
validUntil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user