Change field name in things struct

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-08-14 12:07:10 -04:00
parent a76c468280
commit 2f70c020b5
3 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ func (s *PostService) LoadMoreComments(ctx context.Context, pc *PostAndComments)
noMore := true
mores := root.JSON.Data.Things.More
mores := root.JSON.Data.Things.Mores
for _, m := range mores {
if strings.HasPrefix(m.ParentID, kindPost+"_") {
noMore = false