From f96ace94ab927ec0fa3301dd6acb1925570e3176 Mon Sep 17 00:00:00 2001 From: Santiago21112001 Date: Mon, 11 Mar 2024 11:00:38 +0100 Subject: [PATCH] console log api login --- webapp/src/components/login/Login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/src/components/login/Login.js b/webapp/src/components/login/Login.js index 3c1a854..c99570d 100644 --- a/webapp/src/components/login/Login.js +++ b/webapp/src/components/login/Login.js @@ -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