gitcoinco/code_fund_ads

View on GitHub
app/jobs/generate_organization_report_job.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method perform has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def perform(id:, report_url:, recipients: [])
    organization_report = OrganizationReport.find_by(id: id)
    return unless organization_report

    organization_report.update(status: "generating")
Severity: Minor
Found in app/jobs/generate_organization_report_job.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status