Unexport some structs, rename root struct to thing
Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user