fixed api link
This commit is contained in:
parent
82c31cb3cc
commit
ab1d942c6c
2
api.go
2
api.go
@ -74,7 +74,7 @@ func Category() map[string]interface{} {
|
|||||||
// CategoryTopic returns category json data
|
// CategoryTopic returns category json data
|
||||||
func CategoryTopic(path string) map[string]interface{} {
|
func CategoryTopic(path string) map[string]interface{} {
|
||||||
var topics CategoryTopics
|
var topics CategoryTopics
|
||||||
resp, err := Request("/c/" + path)
|
resp, err := Request("c/" + path)
|
||||||
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