update : auth store

This commit is contained in:
enggar_ganteng 2019-01-29 15:48:45 +07:00
parent a1142a6b04
commit d18022b6b4

View File

@ -128,7 +128,7 @@ export class Authentication {
@action @action
resendEmail(data) { resendEmail(data) {
this.isRegistering = true; this.isRegistering = true;
return this.http.post("/resend_email_verification", data) return this.http.post("authentication/resend_email_verification", data)
.then(res => { .then(res => {
return res; return res;
}) })
@ -139,8 +139,7 @@ export class Authentication {
@action @action
validateOtp(data) { validateOtp(data) {
this.isRegistering = true; return this.http.post("authentication/validate_otp", data)
return this.http.post("/validate_otp", data)
.then(res => { .then(res => {
return res; return res;
}) })