hummingbird-me/kitsu-server

View on GitHub
app/indices/typesense_manga_index.rb

Summary

Maintainability
A
1 hr
Test Coverage
C
70%

Method index has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def index(ids)
    Manga.where(id: ids).includes(:media_categories, :genres).find_each do |manga|
      titles = manga.titles_list

      yield({
Severity: Minor
Found in app/indices/typesense_manga_index.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status