Frontend mutation call remove language

This commit is contained in:
elweyn 2023-03-24 13:36:18 +01:00
parent 68064a9797
commit 5a960a6e27

View File

@ -41,9 +41,6 @@ export default {
this.$apollo
.mutate({
mutation: this.newsletterState ? subscribeNewsletter : unsubscribeNewsletter,
variables: {
language: this.newsletterState ? this.$store.state.language : undefined,
},
})
.then(() => {
this.$store.commit('newsletterState', this.newsletterState)