wowtoken.app/src/fetchCurrent.js
Emily Doherty a51d3f8d7b Start the process of splitting JS files
I am a JS noob so this is probably poorly thought out. But it is a wip and I dont really care about the quality, just more the learning experience.
2024-10-13 23:23:31 -07:00

5 lines
157 B
JavaScript

export default async function fetchCurrent() {
const resp = await fetch("https://data.wowtoken.app/token/current.json");
return await resp.json();
}