• Kerri Miller's avatar
    Add guard clause to ensure incoming params · 0f3b20cd
    Kerri Miller authored
    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.
    
    Changelog: fixed
    0f3b20cd
create_note_diff_file_worker.rb 431 Bytes