Skip to content

Commit

Permalink
ajuste envio de email, propriedade em maiúsculo
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus-vieira committed May 10, 2024
1 parent efb9ba9 commit 1acb417
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _includes/encaminhar/email.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const aEmailHandler = function aEmailHandler(ev) {
ev.preventDefault();
debugger;
try {
const sol = solicitacao.getSolicitacao();
checkSolicitacao(sol, "email");
Expand Down Expand Up @@ -29,7 +30,7 @@ const aEmailHandler = function aEmailHandler(ev) {
},
buildEmailObject = function(sol) {
return Object.create(null, {
estabelecimentoEmail: defineProp(sol.estabelecimento.Email),
estabelecimentoEmail: defineProp(sol.estabelecimento.email),
contatoEmail: defineProp(sol.contato.email),
message: defineProp(buildEmailMessage(sol))
});
Expand Down

0 comments on commit 1acb417

Please sign in to comment.