fixed type error in web service

r/paopao-ce-plus
Michael Li 1 year ago
parent 079cc994e0
commit 33262c3ccf
No known key found for this signature in database

@ -122,7 +122,7 @@ func (s *looseSrv) getSelfStarTweets(req *web.GetUserTweetsReq) (*web.GetUserTwe
logrus.Errorf("Ds.GetUserPostStars err: %s", err)
return nil, web.ErrGetStarsFailed
}
var posts []*core.Post
var posts []*ms.Post
for _, star := range stars {
posts = append(posts, star.Post)
}

Loading…
Cancel
Save