0.2.1 databatage conectage

This commit is contained in:
Peder Vatn Austad
2024-05-24 22:50:31 +02:00
parent 8eeb4a0612
commit be137e0883
7 changed files with 112 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ type Data struct {
// FetchData function to retrieve data from API
func FetchData() (*Data, error) {
resp, err := http.Get("https://api.entur.io/realtime/v1/rest/et?maxSize=1")
resp, err := http.Get("https://api.entur.io/realtime/v1/rest/et?maxSize=0")
if err != nil {
return nil, err
}