mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-01 11:12:15 +00:00
update limit since it looks safe now
This commit is contained in:
parent
7b654c0bf0
commit
635b4e6c24
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ func parseCsvRow(data string) {
|
|||
updatedLocations.Locations = append(updatedLocations.Locations, newRow)
|
||||
}
|
||||
|
||||
if len(updatedLocations.Locations) > 20 {
|
||||
log.Print("Not displaying >20 locations!")
|
||||
if len(updatedLocations.Locations) > 40 {
|
||||
log.Print("Not displaying > 40 locations!")
|
||||
updatedLocations = UpdatedLocations{}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue