diff --git a/app/services/file_ingestor.rb b/app/services/file_ingestor.rb index 6614f2c..11687a2 100644 --- a/app/services/file_ingestor.rb +++ b/app/services/file_ingestor.rb @@ -107,14 +107,14 @@ def federal_parliamentarians_upload(file) member_type: "Group", member_id: branch.id, group: state_party, - ) unless senator + ) unless senator || true else # affiliate the branch with the federal party Membership.find_or_create_by( member_type: "Group", member_id: branch.id, group: federal_party, - ) unless senator + ) unless senator || true end end end