Skip to content

Commit

Permalink
Set fields for imported reports
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Jul 24, 2024
1 parent fcb9881 commit 08b4464
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/concerns/project_media_creators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ def create_claim_description_and_fact_check
publish_report: !!fact_check['publish_report'],
signature: Digest::MD5.hexdigest([self.set_fact_check.to_json, self.team_id].join(':')),
claim_description: cd,
report_status: (fact_check['publish_report'] ? 'published' : 'unpublished'),
rating: self.set_status,
tags: self.set_tags,
skip_check_ability: true
})
end
Expand Down

0 comments on commit 08b4464

Please sign in to comment.