Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return Ok(new { Message = "email_confirmed" });
- return NotFound();
- let url: string = "http://10.0.2.2:53286/api/Home/AccountValidation?codeActivation=" + this.code;
- this.http.patch(url, {
- }).subscribe((res) => {
- console.log(JSON.stringify(res));
- if(res.status != 404) {
- alert({title: "Sistema 3 Esferas", message: "¡Tu cuenta ha sido activada satisfactoriamente! :)", okButtonText: "¡Entendido!"});
- this.router.navigate(["/Miembro"]);
- } else {
- this.btnEnabled = true;
- alert({title: "Sistema 3 Esferas", message: "Has introducido un código inválido. :(", okButtonText: "Entiendo..."});
- }
- });
- console.log(JSON.stringify(res));
Add Comment
Please, Sign In to add comment