HuskieRobotics / HuskieRobotics/SPOT
remove server-side HTTP GET requests
Open
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
There a few points in the server-side code that get data from the sever by specifying an endpoint. For example:
```
let manualSchedule = await axios.get(`http://localhost:${process.env.PORT || 8080}/schedule/matches`).then(res=>res.data) // temp fix
```
This should be replace with a simple function invocation. If the endpoint needs to be available to clients, decompose the behavior into a function that can also be invoked from the router.
Contributor guide
Assessment
This issue has not been assessed yet.