File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public class AnonymousUserManager: AnonymousUserManagerProtocol {
86
86
}
87
87
88
88
// Creates a user after criterias met and login the user and then sync the data through track APIs
89
- private func createKnownUserIfCriteriaMatched ( _ criteriaId: String ) {
89
+ private func createAnonymousUser ( _ criteriaId: String ) {
90
90
var anonSessions = convertToDictionary ( data: localStorage. anonymousSessions? . itbl_anon_sessions)
91
91
let userId = IterableUtil . generateUUID ( )
92
92
anonSessions [ JsonKey . matchedCriteriaId] = Int ( criteriaId)
@@ -224,7 +224,7 @@ public class AnonymousUserManager: AnonymousUserManagerProtocol {
224
224
}
225
225
226
226
if let criteriaId = evaluateCriteriaAndReturnID ( ) {
227
- createKnownUserIfCriteriaMatched ( criteriaId)
227
+ createAnonymousUser ( criteriaId)
228
228
}
229
229
}
230
230
You can’t perform that action at this time.
0 commit comments