Skip to content
Snippets Groups Projects
Commit 1d50cdca authored by Lucca Santangelo's avatar Lucca Santangelo
Browse files

mensaje de error

parent 497e8eb6
No related branches found
No related tags found
No related merge requests found
Pipeline #10618 passed
......@@ -411,7 +411,7 @@ namespace Tsi1.Api.Controllers
var result = await _emailService.SendVerificationCode(userResult.Data.Email, code);
if (result.HasError)
{
return BadRequest("Ha ocurrido un error");
return BadRequest(result.Message);
}
return Ok();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment