0.2.1 databatage conectage
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user