Browse Source

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

1.1
Gisle Aune 6 years ago
parent
commit
138b3e3eab
  1. 2
      graph2/queries/post.go

2
graph2/queries/post.go

@ -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

Loading…
Cancel
Save