diff --git a/fedilogue/retrieve.go b/fedilogue/retrieve.go index 04f9220..6f97571 100644 --- a/fedilogue/retrieve.go +++ b/fedilogue/retrieve.go @@ -64,7 +64,7 @@ type PostJson struct { Published time.Time `json:"published"` Source string `json:"source"` Summary string `json:"summary"` - Tag []TagType `json:"tag"` + tag []TagType `json:"tag"` To []string `json:"to"` Type string `json:"type"` @@ -150,7 +150,7 @@ func check_activity(uri string) { activityjson.normalized = spaceReg.ReplaceAllString(activityjson.normalized, " ") var hashtags []string - for _, tag := range activityjson.Tag { + for _, tag := range activityjson.tag { if tag.Type == "Hashtag" { hashtags = append(hashtags, strings.ToLower(tag.Name)) }