Skip to content

Commit 8e2be83

Browse files
committed
Use the right context for sending custom context fields
1 parent 011f4d6 commit 8e2be83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Analytics/Integrations/Segmentio/SEGSegmentioIntegration.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ - (void)enqueueAction:(NSString *)action dictionary:(NSDictionary *)dictionary o
358358
NSMutableDictionary *context = [NSMutableDictionary dictionaryWithCapacity:capacity];
359359
[context addEntriesFromDictionary:defaultContext];
360360
[context addEntriesFromDictionary:customContext]; // let the custom context override ours
361-
[payload setValue:[self context] forKey:@"context"];
361+
[payload setValue:context forKey:@"context"];
362362

363363
SEGLog(@"%@ Enqueueing action: %@", self, payload);
364364
[self queuePayload:payload];

0 commit comments

Comments
 (0)