mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove email from graphql mutation
This commit is contained in:
parent
5610e327d3
commit
7149de1b93
@ -1,14 +1,14 @@
|
|||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
|
|
||||||
export const subscribeNewsletter = gql`
|
export const subscribeNewsletter = gql`
|
||||||
mutation($email: String!, $language: String!) {
|
mutation($language: String!) {
|
||||||
subscribeNewsletter(email: $email, language: $language)
|
subscribeNewsletter(language: $language)
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const unsubscribeNewsletter = gql`
|
export const unsubscribeNewsletter = gql`
|
||||||
mutation($email: String!) {
|
mutation {
|
||||||
unsubscribeNewsletter(email: $email)
|
unsubscribeNewsletter
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user