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'
|
||||
|
||||
export const subscribeNewsletter = gql`
|
||||
mutation($email: String!, $language: String!) {
|
||||
subscribeNewsletter(email: $email, language: $language)
|
||||
mutation($language: String!) {
|
||||
subscribeNewsletter(language: $language)
|
||||
}
|
||||
`
|
||||
|
||||
export const unsubscribeNewsletter = gql`
|
||||
mutation($email: String!) {
|
||||
unsubscribeNewsletter(email: $email)
|
||||
mutation {
|
||||
unsubscribeNewsletter
|
||||
}
|
||||
`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user