Skip to content

Commit ef4d897

Browse files
committed
Fix a documentation inaccuracy
1 parent f0af845 commit ef4d897

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ has already been initialized, use `PlayerZero.isInitialized()`.
3030

3131
### PlayerZero API
3232

33-
* `PlayerZero.init(projectId: string, options: {endpoint?: string, privacyFnUrl?: string})` - Initialize PlayerZero with
34-
your Project ID and optional configuration. The project id can be found on [PlayerZero's](https://playerzero.ai)
33+
* `PlayerZero.init(apiToken: string, options: {endpoint?: string, privacyFnUrl?: string})` - Initialize PlayerZero with
34+
your API Token and optional configuration. The API Token can be found on [PlayerZero's](https://playerzero.ai)
3535
`Project Settings` under the `Web SDK` area.
3636
* `PlayerZero.isInitialized(): Boolean` - Returns `true` if PlayerZero is initialized.
3737
* `PlayerZero.identify(userId: string, metadata: Record<string, unknown>)` - Identify the current user and associate

0 commit comments

Comments
 (0)