diff options
Diffstat (limited to 'app/graphql/mutations/notes/create/diff_note.rb')
-rw-r--r-- | app/graphql/mutations/notes/create/diff_note.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/graphql/mutations/notes/create/diff_note.rb b/app/graphql/mutations/notes/create/diff_note.rb index 019e7cb8623..7b8c06fd104 100644 --- a/app/graphql/mutations/notes/create/diff_note.rb +++ b/app/graphql/mutations/notes/create/diff_note.rb @@ -32,7 +32,8 @@ module Mutations def create_note_params(noteable, args) super(noteable, args).merge({ type: 'DiffNote', - position: position(noteable, args) + position: position(noteable, args), + merge_request_diff_head_sha: args[:position][:head_sha] }) end |