Skip to content

Commit

Permalink
Replace getOrCreateClientAndToken with getOrCreateDocAndToken in READ…
Browse files Browse the repository at this point in the history
…ME (#244)
  • Loading branch information
causztic committed Jul 9, 2024
1 parent 79183a4 commit fc2bf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import { DocumentManager } from '@y-sweet/sdk'
const manager = new DocumentManager(CONNECTION_STRING)

// Get the client token from the y-sweet server. The client token is like the user's "password" to edit the "myDoc123" doc.
const clientToken = await manager.getOrCreateClientAndToken('myDoc123')
const clientToken = await manager.getOrCreateDocAndToken('myDoc123')
```

### On the client
Expand Down

0 comments on commit fc2bf19

Please sign in to comment.