fix(#993): incorrect json format name

This commit is contained in:
LinkinStar 2022-10-11 10:18:26 +08:00 committed by mingcheng
parent a2347ef5dc
commit 8c41debd11
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ type SearchObject struct {
}
type TagResp struct {
SlugName string `json:"display_name"`
DisplayName string `json:"slug_name"`
SlugName string `json:"slug_name"`
DisplayName string `json:"display_name"`
// if main tag slug name is not empty, this tag is synonymous with the main tag
MainTagSlugName string `json:"main_tag_slug_name"`
}