Skip to content

Commit

Permalink
Update check for RTS membership (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-isaacs authored Jun 16, 2024
1 parent 7ee6b6e commit 1f6959d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public bool IsInAudience(string vuidValue, string audience, string? endpointKey
var graphQlClient = _graphQLClientFactory.Get(odpEndPoint);
var result = graphQlClient.Query<CustomerResponse>(query).Result;

isInAudience = result?.Customer?.Response?.EdgeItems.Count == 0;
isInAudience = result?.Customer?.Response?.EdgeItems.Count == 1;
}

// Use a micro cache approach to improve performance if the same VG is used multiple times on a page
Expand Down

0 comments on commit 1f6959d

Please sign in to comment.