diff --git a/API.js b/API.js index 29570bd..ab63fbf 100644 --- a/API.js +++ b/API.js @@ -1,4 +1,4 @@ -const baseUrl = "https://api.emmint.com"; +const baseUrl = "https://emiapi.reynafamily.com"; //const baseUrl = "http://localhost:3000"; let getCall = async (path = "", params = {}) => { @@ -15,6 +15,7 @@ let getCall = async (path = "", params = {}) => { } }).then(response => response.json()).catch((error) => { console.error(error); + console.trace(); }) } @@ -32,6 +33,7 @@ let deleteCall = async (path = "", params = {}) => { } }).then(response => response.json()).catch((error) => { console.error(error); + console.trace(); }) } @@ -46,6 +48,7 @@ let postCall = async (path, params) => { } }).then(response => response.json()).catch((error) => { console.error(error); + console.trace(); }) }