Skip to content

Commit

Permalink
sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
sigewuzhere committed Feb 20, 2020
1 parent 011c026 commit c5a428f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/advanced/targeting.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ In your code:
```js
const userDomain = userEmail.split('@').pop();
const userObject = {
identifier: this.accountInfo.id,
email: this.accountInfo.email,
identifier: '<SOME USER ID>',
email: userEmail,
custom: { domain: userDomain }
}
return this.getValue(key, defaultValue, callback, userObject);
const value = configCatClient.getValue(key, defaultValue, callback, userObject);
```

#### Semantic version comparators
Expand Down

0 comments on commit c5a428f

Please sign in to comment.