diff options
author | Renard | 2019-09-23 11:37:00 -0300 |
---|---|---|
committer | Renard | 2019-09-23 11:37:00 -0300 |
commit | a415058b441849e4aec0ec03d6f35a1f2c20d323 (patch) | |
tree | 3ddeda1e0e6a2d7feaf5aa0528cb3786bb079be4 | |
parent | 4731437a6049c860ece7fc13772860df6be98b9e (diff) | |
download | bai-client-a415058b441849e4aec0ec03d6f35a1f2c20d323.tar.gz bai-client-a415058b441849e4aec0ec03d6f35a1f2c20d323.tar.xz bai-client-a415058b441849e4aec0ec03d6f35a1f2c20d323.zip |
EliminaciĆ³n de archivos sin uso
-rw-r--r-- | src/Api.js | 15 | ||||
-rw-r--r-- | test | 0 |
2 files changed, 0 insertions, 15 deletions
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; |