Open ImAnAutie opened 2 years ago
Could possibly also remove the need to provide the storelandCORE URL (EG)
const channelRes = await makeRequest(`company/${
Alpine.store("appCompany")._id
}/channel`, "GET",null);
Made one! makeStorelandRequest(url, httpMethod, body)
Migrating to it now, import from src/storelandAPI.js
So instead of making HTTP calls like
it would more be