From d18022b6b4422e6a564d7e4e60081da2fac66b60 Mon Sep 17 00:00:00 2001 From: enggar_ganteng Date: Tue, 29 Jan 2019 15:48:45 +0700 Subject: [PATCH] update : auth store --- src/common/stores/authenticaton.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/stores/authenticaton.js b/src/common/stores/authenticaton.js index 8264fe0..25a8b75 100644 --- a/src/common/stores/authenticaton.js +++ b/src/common/stores/authenticaton.js @@ -128,7 +128,7 @@ export class Authentication { @action resendEmail(data) { this.isRegistering = true; - return this.http.post("/resend_email_verification", data) + return this.http.post("authentication/resend_email_verification", data) .then(res => { return res; }) @@ -139,8 +139,7 @@ export class Authentication { @action validateOtp(data) { - this.isRegistering = true; - return this.http.post("/validate_otp", data) + return this.http.post("authentication/validate_otp", data) .then(res => { return res; })