fixed api link

This commit is contained in:
Michael 2019-09-11 12:18:12 +01:00
parent 82c31cb3cc
commit ab1d942c6c

2
api.go
View File

@ -74,7 +74,7 @@ func Category() map[string]interface{} {
// CategoryTopic returns category json data
func CategoryTopic(path string) map[string]interface{} {
var topics CategoryTopics
resp, err := Request("/c/" + path)
resp, err := Request("c/" + path)
if err != nil {
m := structs.Map(err)
return m