remove tracked mapper restriction for now

This commit is contained in:
Michael Zhang 2021-07-21 17:18:49 -05:00
parent 1bfb3caf55
commit 8e0d33f8b4
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -42,13 +42,14 @@ func (s *Scraper) scrapePendingMaps() {
} }
mapperId := beatmapSet.UserID mapperId := beatmapSet.UserID
if _, ok := trackedMappers[mapperId]; ok {
if _, ok2 := allNewMaps[mapperId]; !ok2 {
allNewMaps[mapperId] = make([]osuapi.Beatmapset, 0)
}
allNewMaps[mapperId] = append(allNewMaps[mapperId], beatmapSet) // if _, ok := trackedMappers[mapperId]; ok {
if _, ok2 := allNewMaps[mapperId]; !ok2 {
allNewMaps[mapperId] = make([]osuapi.Beatmapset, 0)
} }
allNewMaps[mapperId] = append(allNewMaps[mapperId], beatmapSet)
// }
} }
if len(allNewMaps) > 0 { if len(allNewMaps) > 0 {