Skip to content

Commit 0f3bc5a

Browse files
committed
interface updated for GET /search/tags
1 parent 4d8f5bd commit 0f3bc5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipe/dashboard/api/search/tagsGet.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
)
2222

2323
type searchTagsResponse struct {
24-
Status string `json:"status"`
25-
Tags []string `json:"tags"`
24+
Status string `json:"status"`
25+
Tags []interface{} `json:"tags"`
2626
}
2727

2828
func SearchTagsGet(apiImplementation dashboardmodels.APIInterface, options dashboardmodels.APIOptions) (searchTagsResponse, error) {
@@ -39,6 +39,6 @@ func SearchTagsGet(apiImplementation dashboardmodels.APIInterface, options dashb
3939

4040
return searchTagsResponse{
4141
Status: "OK",
42-
Tags: apiResponse["tags"].([]string),
42+
Tags: apiResponse["tags"].([]interface{}),
4343
}, nil
4444
}

0 commit comments

Comments
 (0)