aboutsummaryrefslogtreecommitdiff
path: root/src/Api.js
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-23 11:37:00 -0300
committerLibravatar Renard 2019-09-23 11:37:00 -0300
commita415058b441849e4aec0ec03d6f35a1f2c20d323 (patch)
tree3ddeda1e0e6a2d7feaf5aa0528cb3786bb079be4 /src/Api.js
parent4731437a6049c860ece7fc13772860df6be98b9e (diff)
downloadbai-client-a415058b441849e4aec0ec03d6f35a1f2c20d323.tar.gz
bai-client-a415058b441849e4aec0ec03d6f35a1f2c20d323.tar.xz
bai-client-a415058b441849e4aec0ec03d6f35a1f2c20d323.zip
EliminaciĆ³n de archivos sin uso
Diffstat (limited to 'src/Api.js')
-rw-r--r--src/Api.js15
1 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;