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