action_kit_api 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,8 +29,8 @@ module ActionKitApi
|
|
29
29
|
def create_event(*args)
|
30
30
|
raise "EventCampaign needs to be saved before Event creation" if self.id.nil?
|
31
31
|
|
32
|
-
args[:campaign] = self.id
|
33
|
-
args[:title] ||= self.default_title
|
32
|
+
args[0][:campaign] = self.id
|
33
|
+
args[0][:title] ||= self.default_title
|
34
34
|
|
35
35
|
ActionKitApi::Event.new(args)
|
36
36
|
end
|