Unexport some structs, rename root struct to thing

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-08-11 21:06:34 -04:00
parent 62054d2973
commit aa1de29812
4 changed files with 56 additions and 104 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ func (s *ModerationService) GetActionsByType(ctx context.Context, subreddit stri
return nil, resp, err
}
return root.getModeratorActions(), resp, nil
return root.getModActions(), resp, nil
}
// AcceptInvite accepts a pending invite to moderate the specified subreddit.