Commit 75563cc5 authored by Bosko Petreski's avatar Bosko Petreski Committed by Bosko Petreski

#48

parent ac93a25e
......@@ -63,7 +63,7 @@
NSMutableDictionary *payload = [NSMutableDictionary
dictionaryWithDictionary:@{@"apikey":Primed.sharedInstance.public_key,
@"ts":@(NSDate.date.timeIntervalSince1970),
@"ts":@((NSInteger)NSDate.date.timeIntervalSince1970),
@"sid":sid,
@"did":did,
@"source":@"APP",
......@@ -71,8 +71,7 @@
@"sdkVersion":@"0.0.2",
@"type":type.uppercaseString,
@"eventObject":(eventObject ?: @{})
}];
}];
if(self.customBasicProperties){
[payload addEntriesFromDictionary:@{@"customProperties":self.customBasicProperties}];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment