```ruby
class SectorPreviewSerializer < ActiveModel::Serializer
  cache key: "main_api_sector_preview", expires_in: 3.hours
  attributes :type, :id, :name
  def type
    'sectors'
  end
end
```

Revise the sector_preview serializer output
user
```ruby
class SectorPreviewSerializer < ActiveModel::Serializer
  cache key: "main_api_sector_preview", expires_in: 3.hours
  attributes :name
  link :self do
      api_sector_path(object)
  end
end
```
assistant