app/services/translate_status_service.rb
Method build_status_translation
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_status_translation(translations)
status_translation = Translation.new(
detected_source_language: translations.first&.detected_source_language,
language: @target_language,
provider: translations.first&.provider,