Get more replies to a comment via /api/morechildren
Also started using slices of pointers instead of slices of structs. This is useful especially in the case of adding to the list of replies of a comment. If the comment is a plain old struct (non-pointer), the change wouldn't happen Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
var expectedModActionsResult = &ModActions{
|
||||
ModActions: []ModAction{
|
||||
ModActions: []*ModAction{
|
||||
{
|
||||
ID: "ModAction_b4e7979a-c4ad-11ea-8440-0ea1b7c2b8f9",
|
||||
Action: "spamcomment",
|
||||
|
||||
Reference in New Issue
Block a user