Skip to content

Commit

Permalink
fix: add Decidim::Verifications::CsvDatum
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuki-joto committed Apr 8, 2024
1 parent fe24dab commit d5ad85f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/commands/decidim/organizations/destroy_organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def call
end
end

Decidim::Verifications::CsvDatum.where(organization: organization).delete_all

Decidim::Verifications::Conflict.find_each do |conflict|
if conflict.current_user.organization == organization || conflict.managed_user.organization == organization
puts "destroy verifications_conflict id: #{conflict.id}"
Expand Down

0 comments on commit d5ad85f

Please sign in to comment.