From 138b3e3eabf59a1a275c90d6b20a17a959603a33 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Wed, 31 Oct 2018 21:38:32 +0100 Subject: [PATCH] graph2: Fixed post change on move not including all posts as objects. --- graph2/queries/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph2/queries/post.go b/graph2/queries/post.go index ead311e..f4a62b5 100644 --- a/graph2/queries/post.go +++ b/graph2/queries/post.go @@ -126,7 +126,7 @@ func (r *mutationResolver) MovePost(ctx context.Context, input input.PostMoveInp log = models.Log{ID: post.LogID} } - changes.Submit("Post", "move", token.UserID, true, changekeys.Many(log, posts), post) + changes.Submit("Post", "move", token.UserID, true, changekeys.Many(log, posts), posts) }() return posts, nil