Skip to content

Commit

Permalink
Merge pull request #188 from datacite/change_push_report
Browse files Browse the repository at this point in the history
Push reports for levriero unless a resolution report
  • Loading branch information
richardhallett authored Sep 16, 2024
2 parents a26fe85 + 8a9e26b commit cac56fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Report < ApplicationRecord
after_validation :clean_datasets

# before_create :set_id
after_commit :push_report, if: :normal_report?
after_commit :push_report, unless: :resolution_report?


def clean_data
Expand Down

0 comments on commit cac56fd

Please sign in to comment.