fixed url error
This commit is contained in:
parent
847f11f5b2
commit
0c3a257a6b
2
api.go
2
api.go
@ -113,7 +113,7 @@ func Topics(path string) map[string]interface{} {
|
|||||||
}
|
}
|
||||||
for _, topics := range resp.TopicList.Topics {
|
for _, topics := range resp.TopicList.Topics {
|
||||||
var t Topic
|
var t Topic
|
||||||
resp, err := Request("/t/" + topics.Slug)
|
resp, err := Request("t/" + topics.Slug)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
m := structs.Map(err)
|
m := structs.Map(err)
|
||||||
return m
|
return m
|
||||||
|
Loading…
Reference in New Issue
Block a user