change language to locale
This commit is contained in:
Alexander Friedland 2019-10-18 11:50:42 +02:00 committed by GitHub
parent 18fe54e095
commit bfb3923023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ export default {
const { name, password, about } = this.formData const { name, password, about } = this.formData
const { email, nonce } = this const { email, nonce } = this
const termsAndConditionsAgreedVersion = VERSION const termsAndConditionsAgreedVersion = VERSION
const language = this.$i18n.locale() const locale = this.$i18n.locale()
try { try {
await this.$apollo.mutate({ await this.$apollo.mutate({
mutation: SignupVerificationMutation, mutation: SignupVerificationMutation,
@ -167,7 +167,7 @@ export default {
email, email,
nonce, nonce,
termsAndConditionsAgreedVersion, termsAndConditionsAgreedVersion,
language, locale,
}, },
}) })
this.response = 'success' this.response = 'success'