Skip to content
Browse files

Minor fix.

  • Loading branch information...
1 parent 5d983a2 commit 81053cc8eedd847fdfbd2e38a8667d96a579ee75 @anwajler anwajler committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/campaign_monitor_subscriber.rb
View
2 lib/campaign_monitor_subscriber.rb
@@ -8,7 +8,7 @@ def subscribe_me_using(email_field, custom_fields={})
after_create do |record|
begin
custom_fields = custom_fields.map{|k,v| {k => record.send(v)}}
- s = Campaigning::Subscriber.new(record.send(email_field), custom_fields["name"], custom_fields)
+ s = Campaigning::Subscriber.new(record.send(email_field), custom_fields["name"])
s.add!(CM_CONFIG['list_id'], custom_fields)
rescue RuntimeError
end

0 comments on commit 81053cc

Please sign in to comment.
Something went wrong with that request. Please try again.