Skip to content

Commit a0e8a0d

Browse files
committed
cleanup
1 parent cc9106d commit a0e8a0d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DemoObjCApp/Samples/SamplesForAPI.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ +(void)run:(OptimizelyClient*)optimizely {
8383
}
8484
{
8585
[optimizely trackWithEventKey:@"my_purchase_event_key"
86-
userId:@"user_id"
86+
userId:@"user_123"
8787
attributes:attributes
8888
eventTags:tags
8989
error:nil];

DemoSwiftApp/Samples/SamplesForAPI.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SamplesForAPI {
2828
"lifetime": 24738388,
2929
"is_logged_in": true,
3030
]
31-
let eventTags: [String: Any] = [
31+
let tags: [String: Any] = [
3232
"category": "shoes",
3333
"count": 2,
3434
]
@@ -75,7 +75,7 @@ class SamplesForAPI {
7575
print("[getEnabledFeatures] \(enabledFeatures)")
7676
}
7777

78-
try? optimizely.track(eventKey: "my_purchase_event_key", userId: "user_123", attributes: attributes, eventTags: eventTags)
78+
try? optimizely.track(eventKey: "my_purchase_event_key", userId: "user_123", attributes: attributes, eventTags: tags)
7979
print("[track]")
8080
}
8181

0 commit comments

Comments
 (0)