From 14645842643c4e5fa542def715ac1629e182388c Mon Sep 17 00:00:00 2001 From: lost+skunk Date: Mon, 2 Sep 2024 11:16:54 +0300 Subject: instance list update --- app/wrapper.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/wrapper.go') diff --git a/app/wrapper.go b/app/wrapper.go index e0e5054..f78d8c8 100644 --- a/app/wrapper.go +++ b/app/wrapper.go @@ -74,7 +74,7 @@ func (s skunkyart) GRUser() { case "cover_deviation": group.About.BGMeta = x.ModuleData.CoverDeviation.Deviation group.About.BGMeta.Url = ConvertDeviantArtUrlToSkunkyArt(group.About.BGMeta.Url) - group.About.BG = ParseMedia(group.About.BGMeta.Media, group.About.BGMeta.Title) + group.About.BG = ParseMedia(group.About.BGMeta.Media) case "group_admins": var htm strings.Builder for _, z := range x.ModuleData.GroupAdmins.Results { @@ -122,7 +122,7 @@ func (s skunkyart) GRUser() { folders.WriteString(``) @@ -185,7 +185,7 @@ func (s skunkyart) Deviation(author, postname string) { } // время публикации post.StringTime = post.Post.Deviation.PublishedTime.UTC().String() - post.Post.IMG = ParseMedia(post.Post.Deviation.Media, post.Post.Deviation.Title) + post.Post.IMG = ParseMedia(post.Post.Deviation.Media) for _, x := range post.Post.Deviation.Extended.RelatedContent { if len(x.Deviations) != 0 { post.Related += s.DeviationList(x.Deviations, false) -- cgit v1.2.3