graph2: Fixed post change on move not including all posts as objects.

This commit is contained in:
2018-10-31 21:38:32 +01:00
parent 929abfdbe4
commit 138b3e3eab
+1 -1
View File
@@ -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