require "formatters/abstract_specialist_document_indexable_formatter"

class MaibReportIndexableFormatter < AbstractSpecialistDocumentIndexableFormatter
  def type
    "maib_report"
  end

private
  def extra_attributes
    {
      date_of_occurrence: entity.date_of_occurrence,
      report_type: entity.report_type,
      vessel_type: entity.vessel_type,
    }
  end

  def organisation_slugs
    ["marine-accidents-investigation-branch"]
  end
end

require "formatters/abstract_specialist_document_indexable_formatter"

class MaibReportIndexableFormatter < AbstractSpecialistDocumentIndexableFormatter
  def type
    "maib_report"
  end

private
  def extra_attributes
    {
      date_of_occurrence: entity.date_of_occurrence,
      report_type: entity.report_type,
      vessel_type: entity.vessel_type,
    }
  end

  def organisation_slugs
    ["marine-accident-investigation-branch"]
  end
end

Correct the MAIB organisation slug
Correct the MAIB organisation slug

This was added in 2d0a48c4d8b5ae9524ad5b40c25d28d4678ed1c4 and seems to have
just been a typo.
