fixed url error

This commit is contained in:
Michael 2019-08-13 19:37:54 +01:00
parent 847f11f5b2
commit 0c3a257a6b

2
api.go
View File

@ -113,7 +113,7 @@ func Topics(path string) map[string]interface{} {
}
for _, topics := range resp.TopicList.Topics {
var t Topic
resp, err := Request("/t/" + topics.Slug)
resp, err := Request("t/" + topics.Slug)
if err != nil {
m := structs.Map(err)
return m