Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

other tweaks #2437

Merged
merged 1 commit into from
Dec 24, 2024
Merged

other tweaks #2437

merged 1 commit into from
Dec 24, 2024

Conversation

brock-statsig
Copy link
Contributor

No description provided.

@brock-statsig brock-statsig enabled auto-merge (squash) December 24, 2024 02:10
```js
// pass both the userObject and initializeValues payloads as Object.
// The triple curly-brace in handlebars will unescape the JSON string
const client = new StatsigClient('<CLIENT_SIDE_KEY>' userObj);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There appears to be a missing comma between the SDK key and user object parameters. The correct initialization should be:

const client = new StatsigClient('<CLIENT_SIDE_KEY>', userObj);

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@jasonwzm
Copy link
Member

@jasonwzm jasonwzm temporarily deployed to pull request December 24, 2024 02:12 Inactive
@brock-statsig brock-statsig merged commit 9af4358 into main Dec 24, 2024
3 checks passed
@brock-statsig brock-statsig deleted the clean-up-flatten-concepts branch December 24, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants