From 6040e7f26e9a09a1c2290efd4f7e7ee9d2093d35 Mon Sep 17 00:00:00 2001 From: pops64 Date: Fri, 29 Nov 2024 03:25:31 -0500 Subject: [PATCH] Go Fmt --- pkg/config/scraper_list.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/config/scraper_list.go b/pkg/config/scraper_list.go index d7f87c31b..0ee34e096 100644 --- a/pkg/config/scraper_list.go +++ b/pkg/config/scraper_list.go @@ -190,10 +190,10 @@ func MigrateFromOfficalToCustom(id string, url string, name string, company stri // Data taken from offical SLR scraper, updated to fix url change scraper := ScraperConfig{URL: url, Name: name, Company: company, AvatarUrl: avatarUrl} - + // Needed in case the site we are updating was a master site for others updateMasterSite := func(sites []ScraperConfig) { - for idx, site := range sites{ + for idx, site := range sites { if site.MasterSiteId == id { sites[idx].MasterSiteId = newId } @@ -206,9 +206,9 @@ func MigrateFromOfficalToCustom(id string, url string, name string, company stri // Add the to the SLR list the new custom PS-Porn site switch customId { - case "slr": + case "slr": scraperConfig.CustomScrapers.SlrScrapers = append(scraperConfig.CustomScrapers.SlrScrapers, scraper) - case "povr": + case "povr": scraperConfig.CustomScrapers.PovrScrapers = append(scraperConfig.CustomScrapers.PovrScrapers, scraper) case "vrporn": scraperConfig.CustomScrapers.VrpornScrapers = append(scraperConfig.CustomScrapers.VrpornScrapers, scraper)