graph2: Fixed post change on move not including all posts as objects.
This commit is contained in:
@@ -126,7 +126,7 @@ func (r *mutationResolver) MovePost(ctx context.Context, input input.PostMoveInp
|
|||||||
log = models.Log{ID: post.LogID}
|
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
|
return posts, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user