Skip to content

Add guard clause to ensure incoming params

When diff_note_id is missing, exit early instead of attempting to search with a nil or empty string, which will raise an ActiveRecord::RecordNotFound exception.

Related to #342546 (closed)

Merge request reports