diff options
Diffstat (limited to 'lib/api/entities/note.rb')
-rw-r--r-- | lib/api/entities/note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities/note.rb b/lib/api/entities/note.rb index cac4a8280e3..6ed5ca43fbb 100644 --- a/lib/api/entities/note.rb +++ b/lib/api/entities/note.rb @@ -18,7 +18,7 @@ module API expose :commit_id, if: ->(note, options) { note.noteable_type == "MergeRequest" && note.is_a?(DiffNote) } expose :position, if: ->(note, options) { note.is_a?(DiffNote) } do |note| - note.position.to_h + note.position.to_h.except(:ignore_whitespace_change) end expose :resolvable?, as: :resolvable |