0.2.4 EstVeJurnah gota get it to return its id tho nut other than that diz good
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=0")
|
||||
resp, err := http.Get("https://api.entur.io/realtime/v1/rest/et?maxSize=10000")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user