From a415058b441849e4aec0ec03d6f35a1f2c20d323 Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 23 Sep 2019 11:37:00 -0300 Subject: EliminaciĆ³n de archivos sin uso --- src/Api.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/Api.js (limited to 'src') diff --git a/src/Api.js b/src/Api.js deleted file mode 100644 index 3999b7a..0000000 --- a/src/Api.js +++ /dev/null @@ -1,15 +0,0 @@ -async function getBoards() { - var ret = await fetch("https://bienvenidoainternet.org/cgi/api/boards") - .then(response => { - return response.json(); - }) - .then(resource => { - //console.log(resource["boards"]); - return resource["boards"]; - }) - .catch(console.error); - - return ret; -} - -export default getBoards; -- cgit v1.2.1-18-gbd029