Skip to content

Commit

Permalink
Update PERFIL.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheusfr34 committed Jun 29, 2024
1 parent db47e51 commit 4afc552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/PERFIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h1 class="nome-usuario" id="nome-usuario"> Fulano de Tal</h1>
<script>
const fetchUserData = async () => {
try {
const response = await fetch('http://localhost:3001/perfil/1'); // Ajuste o ID conforme necessário
const response = await fetch('http://localhost:3001/perfil'); // Ajuste o ID conforme necessário
if (response.ok) {
const usuario = await response.json();
document.getElementById('nome-usuario').innerText = usuario.nome;
Expand Down

0 comments on commit 4afc552

Please sign in to comment.