Skip to content

Commit

Permalink
Modified getUserCredentials to use createUserCredentials. The latter …
Browse files Browse the repository at this point in the history
…is what we want to use since we want the request to identify detect non-overlaps. If we do a getUserCredential then it will always be over lapping credentials.
  • Loading branch information
sharekris committed Jul 23, 2015
1 parent 59d2467 commit d34eb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Analytics/Integrations/Kahuna/SEGKahunaIntegration.m
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ - (void)validate
- (void)identify:(NSString *)userId traits:(NSDictionary *)traits options:(NSDictionary *)options
{
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] init];
KahunaUserCredentials *credentials = [Kahuna getUserCredentials];
KahunaUserCredentials *credentials = [Kahuna createUserCredentials];
bool addedCredentials = false;
if (KAHUNA_NOT_STRING_NULL_EMPTY(userId)) {
[credentials addCredential:KAHUNA_CREDENTIAL_USER_ID withValue:userId];
Expand Down

0 comments on commit d34eb4a

Please sign in to comment.