From fedb90754cc51c1d4e916992d657837d7529cc87 Mon Sep 17 00:00:00 2001 From: merdan Date: Tue, 27 Sep 2022 18:56:57 +0500 Subject: [PATCH] cinsiyet eklenior --- controllers/ImportController.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/ImportController.go b/controllers/ImportController.go index a79ec06..4384ef1 100644 --- a/controllers/ImportController.go +++ b/controllers/ImportController.go @@ -220,6 +220,7 @@ func getCats(db *gorm.DB, catIDs []int) ([]gm.Category, string, error) { } for _, cat := range categories { + log.Println(cat) if len(cat.Translations) > 0 && cat.Translations[0].MetaKeywords != "" { translation := cat.Translations[0] @@ -227,8 +228,6 @@ func getCats(db *gorm.DB, catIDs []int) ([]gm.Category, string, error) { } } - log.Println(keywords) - return categories, keywords, nil }