From 3c9c8052f7c0f55940033a787e48578d38ab06ac Mon Sep 17 00:00:00 2001 From: Ekaterina Vaartis Date: Sun, 16 Dec 2018 20:55:09 +0300 Subject: [PATCH] Fix style --- src/components/registration/registration.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js index 7a742b3d..0c65ac5d 100644 --- a/src/components/registration/registration.js +++ b/src/components/registration/registration.js @@ -31,7 +31,7 @@ const registration = { this.$router.push('/main/all') } - this.getCaptcha().then(cpt => this.captcha = cpt) + this.getCaptcha().then(cpt => { this.captcha = cpt }) }, computed: { token () { return this.$route.params.token }, @@ -48,8 +48,8 @@ const registration = { async submit () { this.user.nickname = this.user.username this.user.token = this.token - this.user.captcha_solution = this.captcha.solution; - this.user.captcha_token = this.captcha.token; + this.user.captcha_solution = this.captcha.solution + this.user.captcha_token = this.captcha.token this.$v.$touch()