Resolve "Wiki comments cannot be edited"
What does this MR do and why?
This MR fixes #571700 (closed). When refactoring the save method in !201757 (merged), I missed the fact that the Update mutation requires a slightly different variable format. This MR fixes that by providing the appropriate variable in case the comment is being edited.
Screenshots or screen recordings
No UI changes
How to set up and validate locally
- Open a wiki page, and create a comment
- edit the comment
- save. The edited comment should now be saved correctly.
- create a reply to that comment.
- edit the reply.
- save the edited reply. this should work now, too.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #571700 (closed)
Edited by Janis Altherr