Fix bug in insert_tag_joins

This commit is contained in:
Eric Schultz 2019-11-08 13:57:45 -06:00
parent afae51ab4e
commit f0e4c74d58

View file

@ -81,7 +81,7 @@ module InsertTagJoins
# activities = Psql.execute( Qexpr.new.insert(:activities, activity_data) ) # activities = Psql.execute( Qexpr.new.insert(:activities, activity_data) )
# Sync mailchimp lists, if present # Sync mailchimp lists, if present
MailchimpSupporterSyncJob.perform_later(np_id, supporter_ids, tag_data) MailchimpSupporterSyncJob.perform_later(np_id, supporter_ids, tag_data.as_json)
{ json: { inserted_count: tags.count, removed_count: deleted.count }, status: :ok } { json: { inserted_count: tags.count, removed_count: deleted.count }, status: :ok }
end end