From ce77357f6a892c98d6221d856efa42eb5587becb Mon Sep 17 00:00:00 2001 From: Michael Li Date: Sat, 31 Dec 2022 20:23:12 +0800 Subject: [PATCH] mir:fixed get suggest user/tags result error --- internal/model/web/core.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/model/web/core.go b/internal/model/web/core.go index c43a0905..b5fa497b 100644 --- a/internal/model/web/core.go +++ b/internal/model/web/core.go @@ -83,7 +83,7 @@ type SuggestUsersReq struct { } type SuggestUsersResp struct { - Suggests []string `json:"suggests"` + Suggests []string `json:"suggest"` } type SuggestTagsReq struct { @@ -91,7 +91,7 @@ type SuggestTagsReq struct { } type SuggestTagsResp struct { - Suggests []string `json:"suggests"` + Suggests []string `json:"suggest"` } type TweetStarStatusReq struct {