diff --git a/javascript/npm/index.js b/javascript/npm/index.js index 32ac8a5..5ea7e09 100644 --- a/javascript/npm/index.js +++ b/javascript/npm/index.js @@ -7,8 +7,6 @@ const io = new Server(3000); function fetchDataAndEmit(socket) { axios.get('https://jsonplaceholder.typicode.com/todos/1') .then((response) => { - console.log('API response:', response.data); - // Send the API response back to the client socket.emit('apiResponse', response.data); }) diff --git a/javascript/pnpm/index.js b/javascript/pnpm/index.js index 32ac8a5..5ea7e09 100644 --- a/javascript/pnpm/index.js +++ b/javascript/pnpm/index.js @@ -7,8 +7,6 @@ const io = new Server(3000); function fetchDataAndEmit(socket) { axios.get('https://jsonplaceholder.typicode.com/todos/1') .then((response) => { - console.log('API response:', response.data); - // Send the API response back to the client socket.emit('apiResponse', response.data); }) diff --git a/javascript/yarn/index.js b/javascript/yarn/index.js index 32ac8a5..3b27fab 100644 --- a/javascript/yarn/index.js +++ b/javascript/yarn/index.js @@ -7,7 +7,6 @@ const io = new Server(3000); function fetchDataAndEmit(socket) { axios.get('https://jsonplaceholder.typicode.com/todos/1') .then((response) => { - console.log('API response:', response.data); // Send the API response back to the client socket.emit('apiResponse', response.data);