Fix wrong MR reference in draft notes
What does this MR do and why?
This MR fixes wrong MR reference in draft notes controller. Previously it was using global MR id while it should've been local (project-scoped, iid).
Fixes /ready quick action in draft comment says "No c... (#494210 - closed).
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2024-11-20_at_15.50.29 | Screen_Recording_2024-11-20_at_15.49.01 |
How to set up and validate locally
- Open any merge request with changes
- Set draft status to the MR
- Create a
/readydraft comment on any of the changed files/lines - The comment preview should contain this text:
Marks this merge request as ready..