cinsiyet eklenior
This commit is contained in:
parent
36a65611e3
commit
fedb90754c
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue