Skip to content

Commit

Permalink
console log api login
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago21112001 committed Mar 11, 2024
1 parent a09c204 commit f96ace9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/src/components/login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const Login = () => {

const loginUser = async () => {
try {
console.log("La api usada para llamar al login es: " + apiEndpoint)
const response = await axios.post(`${apiEndpoint}/login`, { username, password });

// Extract data from the response
Expand Down

0 comments on commit f96ace9

Please sign in to comment.